diff Indoor.cpp @ 265:96bc024a5fed

Render overflows
author Nomad
date Mon, 18 Feb 2013 10:04:47 +0200
parents 484f6020dfde
children 92d443ed0cba 640a176c030f
line wrap: on
line diff
--- a/Indoor.cpp	Mon Feb 18 09:20:47 2013 +0200
+++ b/Indoor.cpp	Mon Feb 18 10:04:47 2013 +0200
@@ -559,10 +559,10 @@
                     pFace->uSectorID);
 
         if (pFace->Animated() &&
-            pFace->uBitmapID == pRenderer->field_1036AC_bitmapid )
+            pFace->uBitmapID == pRenderer->hd_water_tile_id )
         {
           __debugbreak();
-          v23 = pRenderer->pHDWaterBitmapIDs[pRenderer->field_1036A8_bitmapid];
+          v23 = pRenderer->pHDWaterBitmapIDs[pRenderer->hd_water_current_frame];
           goto LABEL_42;
         }