diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 21:10:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-01 21:10:13 +0000 |
commit | 2ae843719c2a7b2325309404a0e3cbb4aeb9c3df (patch) | |
tree | 4491254c4532f767585ed0001d5652994a7e9ae6 /src/net/beinghandler.cpp | |
parent | c2cde930ed189d70846bf86acfddf6fdd0c998f9 (diff) | |
download | mana-client-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.gz mana-client-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.bz2 mana-client-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.tar.xz mana-client-2ae843719c2a7b2325309404a0e3cbb4aeb9c3df.zip |
Fixed several compiler warnings and a linker error when compiling without
OpenGL support.
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r-- | src/net/beinghandler.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 7730e9be..549797f9 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -129,12 +129,12 @@ void BeingHandler::handleMessage(MessageIn *msg) if (msg->getId() == SMSG_BEING_MOVE) { - Uint16 srcX, srcY, dstX, dstY; + //Uint16 srcX, srcY, dstX, dstY; //msg->readCoordinatePair(srcX, srcY, dstX, dstY); - dstBeing->setAction(Being::STAND); - dstBeing->mX = srcX; - dstBeing->mY = srcY; - dstBeing->setDestination(dstX, dstY); + //dstBeing->setAction(Being::STAND); + //dstBeing->mX = srcX; + //dstBeing->mY = srcY; + //dstBeing->setDestination(dstX, dstY); } else { @@ -333,11 +333,11 @@ void BeingHandler::handleMessage(MessageIn *msg) if (msg->getId() == SMSG_PLAYER_MOVE) { - Uint16 srcX, srcY, dstX, dstY; + //Uint16 srcX, srcY, dstX, dstY; //msg->readCoordinatePair(srcX, srcY, dstX, dstY); - dstBeing->mX = srcX; - dstBeing->mY = srcY; - dstBeing->setDestination(dstX, dstY); + //dstBeing->mX = srcX; + //dstBeing->mY = srcY; + //dstBeing->setDestination(dstX, dstY); } else { |