From 1a7b91b7e2a27b97f044cad7d9ac0f1179a0ace5 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Thu, 28 Jun 2007 14:33:17 +0000 Subject: Removed superfluous comment and converted an int to bool conversion to a more usual way. svn-id: r27757 --- engines/agi/agi.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3