summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 9c56dec3..1b95b17d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -26,7 +26,7 @@
#include "client.h"
#include "configuration.h"
#include "effectmanager.h"
-#include "eventmanager.h"
+#include "event.h"
#include "graphics.h"
#include "guild.h"
#include "localplayer.h"
@@ -1200,7 +1200,7 @@ void Being::talkTo()
{
Mana::Event event("doTalk");
event.setInt("npcId", mId);
- Mana::EventManager::trigger("NPC", event);
+ event.trigger("NPC");
}
void Being::event(const std::string &channel, const Mana::Event &event)