From 43cab33e9829380f9cf3632cab07915110e9966d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 24 Feb 2004 13:59:29 +0000 Subject: Remove warnings, they were dummy warnings in originals. svn-id: r13024 --- scumm/actor.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'scumm') diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 85e03dbc5d..cc21a49577 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1654,19 +1654,8 @@ void Actor::remapActorPalette(int r_fact, int g_fact, int b_fact, int threshold) int r, g, b; byte akpl_color; - if (!isInCurrentRoom()) { - warning("Remap actor %d not in current room", number); + if (!isInCurrentRoom() || costume < 1 || costume >= _vm->_numCostumes - 1) return; - } - - if (costume < 1 || costume >= _vm->_numCostumes - 1) { - // in FT costume 0 is a normal situation - if (_vm->_gameId == GID_FT && !costume) - return; - - warning("Remap actor %d invalid costume %d", number, costume); - return; - } akos = _vm->getResourceAddress(rtCostume, costume); if (!akos) { -- cgit v1.2.3