[Scummvm-cvs-logs] CVS: scummvm/sky logic.cpp,1.31,1.32
Oliver Kiehl
olki at users.sourceforge.net
Sat May 24 16:28:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv17749
Modified Files:
logic.cpp
Log Message:
fix VC warnings
Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/logic.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- logic.cpp 24 May 2003 23:17:12 -0000 1.31
+++ logic.cpp 24 May 2003 23:27:24 -0000 1.32
@@ -1237,7 +1237,7 @@
}
uint32 SkyLogic::fnSetAlternate(uint32 scr, uint32 b, uint32 c) {
- _compact->extCompact->alt = scr;
+ _compact->extCompact->alt = (uint16)(scr & 0xffff);
_compact->logic = L_ALT;
return 0;
}
@@ -1297,7 +1297,7 @@
}
uint32 SkyLogic::fnSpeakWait(uint32 id, uint32 message, uint32 animation) {
- _compact->flag = id;
+ _compact->flag = (uint16)(id & 0xffff);
_compact->logic = L_LISTEN;
return fnSpeakMe(id, message, animation);
}
More information about the Scummvm-git-logs
mailing list