summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index a0e7184d..79f814a3 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -1088,7 +1088,7 @@ void LocalPlayer::event(Channels channel, const Mana::Event &event)
{
if (channel == CHANNEL_ACTORSPRITE)
{
- if (event.getName() == "Destroyed")
+ if (event.getName() == EVENT_DESTROYED)
{
ActorSprite *actor = event.getActor("source");
@@ -1101,7 +1101,7 @@ void LocalPlayer::event(Channels channel, const Mana::Event &event)
}
else if (channel == CHANNEL_ATTRIBUTES)
{
- if (event.getName() == "UpdateAttribute")
+ if (event.getName() == EVENT_UPDATEATTRIBUTE)
{
if (event.getInt("id") == EXP)
{