aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-15 20:30:05 +1100
committerPaul Gilbert2011-10-15 20:30:05 +1100
commit453323ebaa876b12c8d9d3dbf1da6e79e1ec1db1 (patch)
tree45ae30c16ad9703f5d9ba7ba0eae785a9c2bd01e /engines/tsage/blue_force
parent4062a9653d5087259bebe34704051caa798034e7 (diff)
downloadscummvm-rg350-453323ebaa876b12c8d9d3dbf1da6e79e1ec1db1.tar.gz
scummvm-rg350-453323ebaa876b12c8d9d3dbf1da6e79e1ec1db1.tar.bz2
scummvm-rg350-453323ebaa876b12c8d9d3dbf1da6e79e1ec1db1.zip
TSAGE: Fixed accidental recursion in FollowerObject::reposition method
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_logic.cpp b/engines/tsage/blue_force/blueforce_logic.cpp
index 22e50bb050..537020e4da 100644
--- a/engines/tsage/blue_force/blueforce_logic.cpp
+++ b/engines/tsage/blue_force/blueforce_logic.cpp
@@ -601,7 +601,7 @@ void FollowerObject::reposition() {
assert(_object);
setStrip(_object->_strip);
setPosition(_object->_position, _object->_yDiff);
- reposition();
+ NamedObject::reposition();
}
void FollowerObject::setup(SceneObject *object, int visage, int frameNum, int yDiff) {