aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorStrangerke2015-10-27 14:24:50 +0100
committerStrangerke2015-10-27 14:24:50 +0100
commitcb72286b3441d0a7248849371240758a61424ecb (patch)
treef97b7017be94ca48396fc05ecb357e8bf47d0da4 /engines/mads
parent892565069cfec4f21bc84016bef0e4a600875c1b (diff)
downloadscummvm-rg350-cb72286b3441d0a7248849371240758a61424ecb.tar.gz
scummvm-rg350-cb72286b3441d0a7248849371240758a61424ecb.tar.bz2
scummvm-rg350-cb72286b3441d0a7248849371240758a61424ecb.zip
MADS: Phantom: Set scaling velocity in generic classes Scene1xx and Scene2xx
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/phantom/phantom_scenes1.h2
-rw-r--r--engines/mads/phantom/phantom_scenes2.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/phantom/phantom_scenes1.h b/engines/mads/phantom/phantom_scenes1.h
index d1be6e027e..dbf7d6d29f 100644
--- a/engines/mads/phantom/phantom_scenes1.h
+++ b/engines/mads/phantom/phantom_scenes1.h
@@ -50,7 +50,7 @@ protected:
*/
void setPlayerSpritesPrefix();
public:
- Scene1xx(MADSEngine *vm) : PhantomScene(vm) {}
+ Scene1xx(MADSEngine *vm) : PhantomScene(vm) { _game._player._scalingVelocity = true; }
};
class Scene101 : public Scene1xx {
diff --git a/engines/mads/phantom/phantom_scenes2.h b/engines/mads/phantom/phantom_scenes2.h
index 7e86e2ce0f..14a2848f42 100644
--- a/engines/mads/phantom/phantom_scenes2.h
+++ b/engines/mads/phantom/phantom_scenes2.h
@@ -50,7 +50,7 @@ protected:
*/
void setPlayerSpritesPrefix();
public:
- Scene2xx(MADSEngine *vm) : PhantomScene(vm) {}
+ Scene2xx(MADSEngine *vm) : PhantomScene(vm) { _game._player._scalingVelocity = true; }
};
class Scene201 : public Scene2xx {