summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 20:44:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 20:44:03 +0300
commit66c3c6d23bb3286eb49cc6f132813f64f065cbfa (patch)
treec951ea7f4e39d1a326458692a8bf46da4cf0668b /src/being/being.cpp
parent203045d6184a3e6246b64b3433f43e0bfebc2e31 (diff)
downloadmv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.gz
mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.bz2
mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.xz
mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.zip
Stop cast animation also if got skill error message.
But this is not all cases. For always correct stop cast animation, need use animation command "jump" to stand animation.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 29c28c463..6aedf790e 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2432,7 +2432,7 @@ void Being::updateColors()
void Being::updateSprite(const unsigned int slot,
const int id,
- std::string color,
+ const std::string &restrict color,
const ItemColor colorId,
const bool isWeapon,
const bool isTempSprite) restrict2
@@ -4349,7 +4349,7 @@ void Being::removeSpiritBalls(const unsigned int balls) restrict2
}
}
-void Being::setPostDelay(const bool b)
+void Being::stopCast(const bool b)
{
if (b && mAction == BeingAction::CAST)
setAction(BeingAction::STAND, 0);