summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
commit0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch)
treeadfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/being/actorsprite.cpp
parent69022cd939e572feadaadf1041ae7dadad782ed6 (diff)
downloadplus-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz
plus-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2
plus-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz
plus-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip
Change format in ActorType enum.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 24c8779c0..bf3709089 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -217,7 +217,7 @@ void ActorSprite::updateStatusEffect(const int index, const bool newStatus)
index, newStatus);
if (!effect)
return;
- if (effect->isPoison() && getType() == ActorType::PLAYER)
+ if (effect->isPoison() && getType() == ActorType::Player)
setPoison(newStatus);
handleStatusEffect(effect, index);
}