diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-23 14:25:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-23 14:25:45 +0300 |
commit | 0a3d203f6f311da4a7907863586068827cdedfed (patch) | |
tree | b6939497c8ff08863d5ac67f2af190e4e6441cd5 /src/gamemodifiers.cpp | |
parent | dd1c7257b760f4c97c84e66d4ebb4f32fff8a499 (diff) | |
download | plus-0a3d203f6f311da4a7907863586068827cdedfed.tar.gz plus-0a3d203f6f311da4a7907863586068827cdedfed.tar.bz2 plus-0a3d203f6f311da4a7907863586068827cdedfed.tar.xz plus-0a3d203f6f311da4a7907863586068827cdedfed.zip |
Move crazy move state into settings class.
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r-- | src/gamemodifiers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp index 9a21c738d..b5d5d91bb 100644 --- a/src/gamemodifiers.cpp +++ b/src/gamemodifiers.cpp @@ -166,7 +166,7 @@ static const unsigned mCrazyMoveTypeSize = 11; void GameModifiers::changeCrazyMoveType(const bool forward) { - localPlayer->setCrazyMoveState(0U); + settings.crazyMoveState = 0U; changeMode(&settings.crazyMoveType, mCrazyMoveTypeSize, "crazyMoveType", &GameModifiers::getCrazyMoveTypeString, 1, true, forward); } |