aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-06-22 00:24:34 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitf1ef774a285844edd3a01c7d21e41e957a175ba8 (patch)
tree81d0fb7b534728a6d6744f6081d8375157a93f31
parentb97535ef698f3fda7dac27ee39499d67aed1418c (diff)
downloadscummvm-rg350-f1ef774a285844edd3a01c7d21e41e957a175ba8.tar.gz
scummvm-rg350-f1ef774a285844edd3a01c7d21e41e957a175ba8.tar.bz2
scummvm-rg350-f1ef774a285844edd3a01c7d21e41e957a175ba8.zip
DM: Fix another GCC warning and a bug
-rw-r--r--engines/dm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index 6ddff20398..8027425fa5 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -163,7 +163,7 @@ enum WallSetIndices {
kWall_D0L_Native = 21,
kWall_D1LCR_Native = 22,
kWall_D2LCR_Native = 23,
- kWall_D3LCR_Native = 24,
+ kWall_D3LCR_Native = 24
};
@@ -916,7 +916,7 @@ void DisplayMan::drawSquareD2L(direction dir, int16 posX, int16 posY) {
}
break;
case kStairsSideElemType:
- drawFloorPitOrStairsBitmap(kStairsNativeIndex_Side_D2L, gFrameWalls[kFrameStairsSide_D2L]);
+ drawFloorPitOrStairsBitmap(kStairsNativeIndex_Side_D2L, gStairFrames[kFrameStairsSide_D2L]);
break;
}
}