diff options
-rw-r--r-- | engines/agi/agi.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp index 04c3b34f92..0839b7de99 100644 --- a/engines/agi/agi.cpp +++ b/engines/agi/agi.cpp @@ -334,10 +334,7 @@ void AgiEngine::replayImageStackCall(uint8 type, int16 p1, int16 p2, int16 p3, case ADD_PIC: debugC(8, kDebugLevelMain, "--- decoding picture %d ---", p1); agiLoadResource(rPICTURE, p1); - // Not using simply p3 or (bool) p3 for decodePicture's third - // parameter because they give a warning C4800 with MSVC8: - // 'int16' : forcing value to bool 'true' or 'false' (performance warning) - _picture->decodePicture(p1, p2, p3 ? true : false); + _picture->decodePicture(p1, p2, p3 != 0); break; case ADD_VIEW: agiLoadResource(rVIEW, p1); |