git » fp-git.git » commit b656925

bugfix: thnx valgrind

author ecalot
2004-08-26 11:44:21 UTC
committer ecalot
2004-08-26 11:44:21 UTC
parent 684dc442695b1d77971769bc48e8860fd8ffe871

bugfix: thnx valgrind

FP/src/ker/room.c +2 -2

diff --git a/FP/src/ker/room.c b/FP/src/ker/room.c
index 6bab6ad..8d9e1b4 100644
--- a/FP/src/ker/room.c
+++ b/FP/src/ker/room.c
@@ -438,9 +438,9 @@ void drawBackPanel(tRoom* room,int x, int y) {
 	/* pressable/this */
 	if (tile.isRaise) {
 		outputDrawBitmap(
-			roomGfx.environment->pFrames[(((tPressable*)left.moreInfo)->action==eNormal)?(58-((left.walkable)&&(!left.isRaise))):58],
+			roomGfx.environment->pFrames[(((tPressable*)tile.moreInfo)->action==eNormal)?(58-((left.walkable)&&(!left.isRaise))):58],
 			(x-1)*TILE_W,
-			y*TILE_H+((((tPressable*)left.moreInfo)->action==eNormal)?0:1)
+			y*TILE_H+((((tPressable*)tile.moreInfo)->action==eNormal)?0:1)
 		);
 	}
 	/* debris/this */