[Scummvm-cvs-logs] SF.net SVN: scummvm: [21899] scummvm/trunk/engines/simon/vga.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Fri Apr 14 18:57:04 CEST 2006
Revision: 21899
Author: kirben
Date: 2006-04-14 18:56:49 -0700 (Fri, 14 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21899&view=rev
Log Message:
-----------
Fix compile warnings I caused
Modified Paths:
--------------
scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp 2006-04-15 01:48:52 UTC (rev 21898)
+++ scummvm/trunk/engines/simon/vga.cpp 2006-04-15 01:56:49 UTC (rev 21899)
@@ -1308,7 +1308,8 @@
_scrollYMax = 0;
_scrollImage = state->depack_src;
_scrollHeight = state->height;
- if (vcReadVar(34) < 0)
+ int tmp = vcReadVar(34);
+ if (tmp < 0)
state->x = vcReadVar(251);
_scrollX = state->x;
@@ -1340,7 +1341,8 @@
_scrollYMax = state->height - 480;
_scrollImage = state->depack_src;
_scrollWidth = state->width;
- if (vcReadVar(34) < 0)
+ int tmp = vcReadVar(34);
+ if (tmp < 0)
state->y = vcReadVar(250);
_scrollY = state->y;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list