From 8390b0cc53b2025108eee9a8ea9ee7f411edd55e Mon Sep 17 00:00:00 2001 From: Matt Hargett Date: Sun, 22 Sep 2002 03:53:53 +0000 Subject: 2002-09-21 Matt Hargett * 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 --- scumm/actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/actor.cpp') 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; -- cgit v1.2.3