diff options
author | Daniel Bradshaw <daniel+commits@the-cell.co.uk> | 2010-01-26 21:02:20 +0000 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2010-01-28 10:19:12 +0100 |
commit | ca2950fb8bffa9924aa49ab1d4729dbc2a391752 (patch) | |
tree | d95f92db525f415a4107ed8704b75368b70da967 /src/localplayer.cpp | |
parent | 8d299d86c1209be6084e0d78c0454c946874e00f (diff) | |
download | mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.gz mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.bz2 mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.tar.xz mana-ca2950fb8bffa9924aa49ab1d4729dbc2a391752.zip |
Added virtual destructors, some implicit casts, and a couple of type changes.
Many warnings removed.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8ea6af61..8846d385 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -636,10 +636,10 @@ void LocalPlayer::stopWalking(bool sendToServer) #ifdef MANASERV_SUPPORT mLocalWalkTime = 0; #endif - setDestination(getPosition().x, getPosition().y); + setDestination((int) getPosition().x, (int) getPosition().y); if (sendToServer) - Net::getPlayerHandler()->setDestination(getPosition().x, - getPosition().y); + Net::getPlayerHandler()->setDestination((int) getPosition().x, + (int) getPosition().y); setAction(STAND); } |