aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-09-23 11:20:44 +0000
committerFilippos Karapetis2007-09-23 11:20:44 +0000
commitd82fa2a65bc391df8730bd528e04287043b2a1af (patch)
tree189d61da011f2f9836ae75d41819540f86cb33a6
parent474c3ef9155edcacbb0c88b66f87a06b8b7f2f81 (diff)
downloadscummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.tar.gz
scummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.tar.bz2
scummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.zip
Fixed some platform checks
svn-id: r29044
-rw-r--r--engines/agi/preagi_winnie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/preagi_winnie.cpp b/engines/agi/preagi_winnie.cpp
index edbfb9f6ed..085346efe1 100644
--- a/engines/agi/preagi_winnie.cpp
+++ b/engines/agi/preagi_winnie.cpp
@@ -1076,7 +1076,7 @@ void Winnie::drawRoomPic() {
_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::init() {
void Winnie::run() {
randomize();
- if (!_vm->getPlatform() == Common::kPlatformC64)
+ if (_vm->getPlatform() != Common::kPlatformC64)
intro();
gameLoop();
}