aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorMatt Hargett2002-09-22 03:53:53 +0000
committerMatt Hargett2002-09-22 03:53:53 +0000
commit8390b0cc53b2025108eee9a8ea9ee7f411edd55e (patch)
tree5ca2452114d38060824e0edee01ce7955132ad37 /scumm/actor.cpp
parentfbe9c544de19cc4a7f28e2dbf1fdebaf351b83ee (diff)
downloadscummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.tar.gz
scummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.tar.bz2
scummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.zip
2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate PDBs on all builds. * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp, dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp: Fix warnings where possible. One pragma added to eliminate warning of unknown pragmas. * string.cpp: If unknown escape sequence, print warning. svn-id: r4998
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 7e762a9314..4d8f08ceb7 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -256,7 +256,7 @@ int Actor::updateActorDirection(bool is_walking)
from = toSimpleDir(dirType, facing);
dir = remapDirection(newDirection, is_walking);
- shouldInterpolate = (dir & 1024);
+ shouldInterpolate = (dir & 1024) ? true : false;
to = toSimpleDir(dirType, dir & 1023);
num = dirType ? 8 : 4;