diff options
Diffstat (limited to 'src/state.cpp')
-rw-r--r-- | src/state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.cpp b/src/state.cpp index 8f8c3692..e6c2089e 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -23,7 +23,7 @@ #include "state.h" -#include "connectionhandler.h" +#include "gamehandler.h" #include "map.h" #include "mapmanager.h" #include "messageout.h" @@ -78,7 +78,7 @@ void State::update() msg.writeLong(b2->get()->getX());// x msg.writeLong(b2->get()->getY());// y - connectionHandler->sendTo(*b, msg); + gameHandler->sendTo(*b, msg); } } } |