summaryrefslogtreecommitdiff
path: root/src/being/being.h
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.h
parent203045d6184a3e6246b64b3433f43e0bfebc2e31 (diff)
downloadmanaverse-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.gz
manaverse-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.bz2
manaverse-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.xz
manaverse-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.h')
-rw-r--r--src/being/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 48e8b8c5e..6c1e09fa8 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -315,7 +315,7 @@ class Being notfinal : public ActorSprite,
void updateSprite(const unsigned int slot,
const int id,
- std::string color = "",
+ const std::string &restrict color = "",
const ItemColor colorId = ItemColor_one,
const bool isWeapon = false,
const bool isTempSprite = false) restrict2;
@@ -939,7 +939,7 @@ class Being notfinal : public ActorSprite,
unsigned int getSpiritBalls() const restrict2 noexcept A_WARN_UNUSED
{ return mSpiritBalls; }
- void setPostDelay(const bool b) override final;
+ void stopCast(const bool b) override final;
#endif
void setKarma(const int karma) restrict2 noexcept