aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTobias Gunkel2012-02-10 23:46:32 +0100
committerTobias Gunkel2012-02-11 08:36:37 +0100
commit0d5b03d8daffa758a60feaea9a6515a0632cce72 (patch)
tree06a24fb65dfccbd1eafa7bbe4d6f275cb8931a44 /engines/scumm
parent67d67ec4f6c867fab9ef5ff6f40c1f6144f0f77f (diff)
downloadscummvm-rg350-0d5b03d8daffa758a60feaea9a6515a0632cce72.tar.gz
scummvm-rg350-0d5b03d8daffa758a60feaea9a6515a0632cce72.tar.bz2
scummvm-rg350-0d5b03d8daffa758a60feaea9a6515a0632cce72.zip
SCUMM: remove unnecessary cast to Actor_v0
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 07c439043f..53496428e3 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -251,7 +251,7 @@ void Actor::stopActorMoving() {
_moving = 0;
if (_vm->_game.version == 0)
- ((Actor_v0 *)this)->setDirection(_facing);
+ setDirection(_facing);
}
void Actor::setActorWalkSpeed(uint newSpeedX, uint newSpeedY) {