summaryrefslogtreecommitdiff
path: root/src/actorsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorsprite.cpp')
-rw-r--r--src/actorsprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp
index ff12822c..6120ef08 100644
--- a/src/actorsprite.cpp
+++ b/src/actorsprite.cpp
@@ -63,7 +63,7 @@ ActorSprite::~ActorSprite()
// Notify listeners of the destruction.
Mana::Event event("Destroyed");
event.setActor("source", this);
- event.trigger("ActorSprite");
+ event.trigger(CHANNEL_ACTORSPRITE);
}
bool ActorSprite::draw(Graphics *graphics, int offsetX, int offsetY) const
@@ -260,7 +260,7 @@ void ActorSprite::updateStunMode(int oldMode, int newMode)
Mana::Event event("Stun");
event.setInt("oldMode", oldMode);
event.setInt("newMode", newMode);
- event.trigger("ActorSprite");
+ event.trigger(CHANNEL_ACTORSPRITE);
}
handleStatusEffect(StatusEffect::getStatusEffect(oldMode, false), -1);
@@ -274,7 +274,7 @@ void ActorSprite::updateStatusEffect(int index, bool newStatus)
Mana::Event event("UpdateStatusEffect");
event.setInt("index", index);
event.setBool("newStatus", newStatus);
- event.trigger("ActorSprite");
+ event.trigger(CHANNEL_ACTORSPRITE);
}
handleStatusEffect(StatusEffect::getStatusEffect(index, newStatus), index);