aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-17 23:46:03 +0000
committerOliver Kiehl2003-05-17 23:46:03 +0000
commit740d1150f51149908b194a27e23a019c803b4615 (patch)
treecbd79ac8f12cac004db236d41da650c0280196d6
parenta5607d3fa279988880ba7b17e7935fb26e3dbc45 (diff)
downloadscummvm-rg350-740d1150f51149908b194a27e23a019c803b4615.tar.gz
scummvm-rg350-740d1150f51149908b194a27e23a019c803b4615.tar.bz2
scummvm-rg350-740d1150f51149908b194a27e23a019c803b4615.zip
make gcc 3.3 happy. a->scalex and a->scaley are of type char and cannot be greater 255
svn-id: r7619
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 727280e7ae..49e67ae26c 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -499,8 +499,6 @@ void Scumm_v5::o5_actorSet() {
a->scaley = getVarOrDirectByte(0x40);
}
- if (a->scalex > 255 || a->scaley > 255)
- error("Setting an bad actor scale!");
a->needRedraw = true;
a->needBgReset = true;
break;