[Scummvm-cvs-logs] SF.net SVN: scummvm: [29044] scummvm/trunk/engines/agi/preagi_winnie.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Sep 23 13:20:44 CEST 2007
Revision: 29044
http://scummvm.svn.sourceforge.net/scummvm/?rev=29044&view=rev
Author: thebluegr
Date: 2007-09-23 04:20:44 -0700 (Sun, 23 Sep 2007)
Log Message:
-----------
Fixed some platform checks
Modified Paths:
--------------
scummvm/trunk/engines/agi/preagi_winnie.cpp
Modified: scummvm/trunk/engines/agi/preagi_winnie.cpp
===================================================================
--- scummvm/trunk/engines/agi/preagi_winnie.cpp 2007-09-23 11:10:11 UTC (rev 29043)
+++ scummvm/trunk/engines/agi/preagi_winnie.cpp 2007-09-23 11:20:44 UTC (rev 29044)
@@ -1076,7 +1076,7 @@
_vm->_picture->showPic(IDI_WTP_PIC_X0, IDI_WTP_PIC_Y0, IDI_WTP_PIC_WIDTH, IDI_WTP_PIC_HEIGHT);
// draw object picture
- if (!_vm->getPlatform() == Common::kPlatformAmiga && !_vm->getPlatform() == Common::kPlatformC64)
+ if (_vm->getPlatform() != Common::kPlatformAmiga && _vm->getPlatform() != Common::kPlatformC64)
drawObjPic(iObj, IDI_WTP_PIC_X0 + roomhdr.objX, IDI_WTP_PIC_Y0 + roomhdr.objY);
free(buffer);
@@ -1163,7 +1163,7 @@
void Winnie::run() {
randomize();
- if (!_vm->getPlatform() == Common::kPlatformC64)
+ if (_vm->getPlatform() != Common::kPlatformC64)
intro();
gameLoop();
}
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