[Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.27,1.28
Robert Göffringmann
lavosspawn at users.sourceforge.net
Wed Dec 15 21:28:00 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky compact.cpp,1.28,1.29 control.cpp,1.83,1.84 logic.cpp,1.149,1.150 logic.h,1.40,1.41 mouse.cpp,1.38,1.39 sky.cpp,1.165,1.166 sky.h,1.63,1.64
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.26,1.26.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4011/sky
Modified Files:
autoroute.cpp
Log Message:
fix for bug #897777 (Foster walks on water...) and #788858 (Walk glitch)
Index: autoroute.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/autoroute.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- autoroute.cpp 15 Dec 2004 06:48:03 -0000 1.27
+++ autoroute.cpp 16 Dec 2004 05:27:10 -0000 1.28
@@ -69,7 +69,7 @@
initX = x - TOP_LEFT_X;
} else if (x >= TOP_LEFT_X + GAME_SCREEN_WIDTH) {
blkX = (GAME_SCREEN_WIDTH - 1) >> 3;
- initX = x - (TOP_LEFT_X + GAME_SCREEN_WIDTH);
+ initX = x - (TOP_LEFT_X + GAME_SCREEN_WIDTH - 1);
} else {
blkX = (x - TOP_LEFT_X) >> 3;
initX = 0;
@@ -82,7 +82,7 @@
initY = y - TOP_LEFT_Y;
} else if (y >= TOP_LEFT_Y + GAME_SCREEN_HEIGHT) {
blkY = (GAME_SCREEN_HEIGHT - 1) >> 3;
- initY = y - (TOP_LEFT_Y + GAME_SCREEN_WIDTH);
+ initY = y - (TOP_LEFT_Y + GAME_SCREEN_HEIGHT);
} else {
blkY = (y - TOP_LEFT_Y) >> 3;
initY = 0;
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky compact.cpp,1.28,1.29 control.cpp,1.83,1.84 logic.cpp,1.149,1.150 logic.h,1.40,1.41 mouse.cpp,1.38,1.39 sky.cpp,1.165,1.166 sky.h,1.63,1.64
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky autoroute.cpp,1.26,1.26.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list