Skip to content

Commit

Permalink
MADS: Phantom: Set scaling velocity in generic classes Scene1xx and S…
Browse files Browse the repository at this point in the history
…cene2xx
  • Loading branch information
Strangerke committed Oct 27, 2015
1 parent 8925650 commit cb72286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/mads/phantom/phantom_scenes1.h
Expand Up @@ -50,7 +50,7 @@ class Scene1xx : public PhantomScene {
*/
void setPlayerSpritesPrefix();
public:
Scene1xx(MADSEngine *vm) : PhantomScene(vm) {}
Scene1xx(MADSEngine *vm) : PhantomScene(vm) { _game._player._scalingVelocity = true; }
};

class Scene101 : public Scene1xx {
Expand Down
2 changes: 1 addition & 1 deletion engines/mads/phantom/phantom_scenes2.h
Expand Up @@ -50,7 +50,7 @@ class Scene2xx : public PhantomScene {
*/
void setPlayerSpritesPrefix();
public:
Scene2xx(MADSEngine *vm) : PhantomScene(vm) {}
Scene2xx(MADSEngine *vm) : PhantomScene(vm) { _game._player._scalingVelocity = true; }
};

class Scene201 : public Scene2xx {
Expand Down

0 comments on commit cb72286

Please sign in to comment.