Skip to content

Commit

Permalink
Update src/cata_tiles.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jianxiang Wang (王健翔) <[email protected]>
  • Loading branch information
Rewryte and Qrox authored Dec 21, 2023
1 parent e662ecf commit 0ad4911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cata_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2947,7 +2947,7 @@ bool cata_tiles::draw_sprite_at(

printErrorIf( ret != 0, "SDL_RenderCopyEx() failed" );
// this reference passes all the way back up the call chain back to
// cata_tiles::draw() here.draw_points_cache[row][col].com.height_3d
// cata_tiles::draw() here.draw_points_cache[z][row][col].com.height_3d
// where we are accumulating the height of every sprite stacked up in a tile
height_3d += tile.height_3d;
return true;
Expand Down

0 comments on commit 0ad4911

Please sign in to comment.