aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-02 23:41:15 +1100
committerPaul Gilbert2011-10-02 23:41:15 +1100
commit5e8562d373c99e980ff64ceb1763b5e3b02ffdf1 (patch)
tree9ac623dd0a132b29dfc50ac5c02ac005f519fe58 /engines
parent30dd2db8fe8c19a0fe2c8ff5784a7e5e8ee1d878 (diff)
downloadscummvm-rg350-5e8562d373c99e980ff64ceb1763b5e3b02ffdf1.tar.gz
scummvm-rg350-5e8562d373c99e980ff64ceb1763b5e3b02ffdf1.tar.bz2
scummvm-rg350-5e8562d373c99e980ff64ceb1763b5e3b02ffdf1.zip
TSAGE: Fixed compiler warnings
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes2.cpp b/engines/tsage/blue_force/blueforce_scenes2.cpp
index f201e58e80..524c742e20 100644
--- a/engines/tsage/blue_force/blueforce_scenes2.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes2.cpp
@@ -36,7 +36,7 @@ namespace BlueForce {
void Scene200::Action1::signal() {
Scene200 *scene = (Scene200 *)BF_GLOBALS._sceneManager._scene;
SceneObject *owner = static_cast<SceneObject *>(this->_owner);
- static const uint32 black = 0;
+
assert(owner);
switch (_actionIndex++) {
@@ -452,8 +452,8 @@ void Scene225::Action1::signal() {
owner->_moveDiff.x = 8;
Common::Point destPos(402, 116);
- NpcMover *mover = new NpcMover();
- owner->addMover(mover, &destPos, this);
+ NpcMover *mover2 = new NpcMover();
+ owner->addMover(mover2, &destPos, this);
BF_GLOBALS._player.setPosition(Common::Point(owner->_position.x, 0));
ADD_MOVER_NULL(BF_GLOBALS._player, 500, 0);