summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-08 02:13:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-08 02:19:35 +0300
commit178f4811e8602ba7dacb1a0513baa546088d517d (patch)
treec23cf5dd5d752216e88473c51e7730700942d0fc /src/client.cpp
parentda44888ee2de9ae1e5c006126e84b36fcc95d4e5 (diff)
downloadmanaplus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.gz
manaplus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.bz2
manaplus-178f4811e8602ba7dacb1a0513baa546088d517d.tar.xz
manaplus-178f4811e8602ba7dacb1a0513baa546088d517d.zip
Fix compilation errors and more style.
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();