diff options
author | Filippos Karapetis | 2007-09-23 11:20:44 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-23 11:20:44 +0000 |
commit | d82fa2a65bc391df8730bd528e04287043b2a1af (patch) | |
tree | 189d61da011f2f9836ae75d41819540f86cb33a6 /engines/agi | |
parent | 474c3ef9155edcacbb0c88b66f87a06b8b7f2f81 (diff) | |
download | scummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.tar.gz scummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.tar.bz2 scummvm-rg350-d82fa2a65bc391df8730bd528e04287043b2a1af.zip |
Fixed some platform checks
svn-id: r29044
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/preagi_winnie.cpp | 4 |
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(); } |