From 0ad491182288a1a1ffd7b8a6004ae17e16728193 Mon Sep 17 00:00:00 2001 From: Rewryte <129854247+Rewryte@users.noreply.github.com> Date: Thu, 21 Dec 2023 20:03:50 +0800 Subject: [PATCH] Update src/cata_tiles.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jianxiang Wang (王健翔) --- src/cata_tiles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cata_tiles.cpp b/src/cata_tiles.cpp index c44d0f14b3123..0c39342de131d 100644 --- a/src/cata_tiles.cpp +++ b/src/cata_tiles.cpp @@ -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;