summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 54a0b6224..023eb5353 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -988,10 +988,10 @@ int Client::gameExec()
if (mState != mOldState)
{
- Mana::Event evt(EVENT_STATECHANGE);
+ Event evt(EVENT_STATECHANGE);
evt.setInt("oldState", mOldState);
evt.setInt("newState", mState);
- Mana::Event::trigger(CHANNEL_CLIENT, evt);
+ Event::trigger(CHANNEL_CLIENT, evt);
if (mOldState == STATE_GAME)
{
@@ -1191,10 +1191,10 @@ int Client::gameExec()
if (!BeingInfo::unknown)
BeingInfo::unknown = new BeingInfo;
- Mana::Event evt2(EVENT_STATECHANGE);
+ Event evt2(EVENT_STATECHANGE);
evt2.setInt("newState", STATE_LOAD_DATA);
evt2.setInt("oldState", mOldState);
- Mana::Event::trigger(CHANNEL_CLIENT, evt2);
+ Event::trigger(CHANNEL_CLIENT, evt2);
// Load XML databases
CharDB::load();