diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index bdba75aa8..47d0e9a21 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1044,10 +1044,10 @@ int Client::exec() if (!BeingInfo::unknown) BeingInfo::unknown = new BeingInfo; - Mana::Event evt(EVENT_STATECHANGE); - evt.setInt("newState", STATE_LOAD_DATA); - evt.setInt("oldState", mOldState); - Mana::Event::trigger(CHANNEL_CLIENT, evt); + Mana::Event evt2(EVENT_STATECHANGE); + evt2.setInt("newState", STATE_LOAD_DATA); + evt2.setInt("oldState", mOldState); + Mana::Event::trigger(CHANNEL_CLIENT, evt2); // Load XML databases ColorDB::load(); |