summaryrefslogtreecommitdiff
path: root/src/being/crazymoves.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:20:41 +0300
commit65c3c7a8ac6437d507597b840fc20dc1cad5fbf1 (patch)
treefc6ff6da1aa6a97e4cd8f84309010d47a65b01ff /src/being/crazymoves.cpp
parent8fb2c062cd1c03f032b99f4a7e7663c0653ba837 (diff)
downloadplus-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.gz
plus-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.bz2
plus-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.tar.xz
plus-65c3c7a8ac6437d507597b840fc20dc1cad5fbf1.zip
Add missing const in being directory.
Diffstat (limited to 'src/being/crazymoves.cpp')
-rw-r--r--src/being/crazymoves.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being/crazymoves.cpp b/src/being/crazymoves.cpp
index 3eb3fd3f4..9e7d6b8fe 100644
--- a/src/being/crazymoves.cpp
+++ b/src/being/crazymoves.cpp
@@ -491,7 +491,7 @@ void CrazyMoves::crazyMove9()
}
}
-void CrazyMoves::crazyMoveAm()
+void CrazyMoves::crazyMoveAm() const
{
if (!localPlayer)
return;
@@ -569,7 +569,7 @@ void CrazyMoves::crazyMoveAm()
}
}
-void CrazyMoves::crazyMoveAd()
+void CrazyMoves::crazyMoveAd() const
{
settings.crazyMoveState ++;
@@ -710,7 +710,7 @@ void CrazyMoves::crazyMoveAs()
settings.crazyMoveState ++;
}
-void CrazyMoves::crazyMoveAo()
+void CrazyMoves::crazyMoveAo() const
{
settings.crazyMoveState ++;
if (settings.crazyMoveState < mMoveProgram.length())
@@ -730,7 +730,7 @@ void CrazyMoves::crazyMoveAo()
}
}
-void CrazyMoves::crazyMoveAe()
+void CrazyMoves::crazyMoveAe() const
{
settings.crazyMoveState ++;
const signed char emo = mMoveProgram[settings.crazyMoveState];