diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-24 04:08:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-24 04:08:24 +0300 |
commit | f8cd17e234018066b03b995e92a09981d3d927f8 (patch) | |
tree | ff8154b61e36fad574b0de2e8b042336f3a17666 /src/localplayer.cpp | |
parent | 8e5861c3cfd41574351547a1a518efcf9007666a (diff) | |
download | mv-f8cd17e234018066b03b995e92a09981d3d927f8.tar.gz mv-f8cd17e234018066b03b995e92a09981d3d927f8.tar.bz2 mv-f8cd17e234018066b03b995e92a09981d3d927f8.tar.xz mv-f8cd17e234018066b03b995e92a09981d3d927f8.zip |
Remove some debug messages and old comments.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 51f1f244e..cbf75a5f9 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -190,7 +190,6 @@ LocalPlayer::LocalPlayer(int id, int subtype): PlayerInfo::setStatMod(WALK_SPEED, 0); loadHomes(); -// initTargetCursor(); config.addListener("showownname", this); config.addListener("targetDeadPlayers", this); @@ -278,16 +277,12 @@ void LocalPlayer::logic() { if (mMessageTime == 0) { - //const Vector &pos = getPosition(); - MessagePair info = mMessages.front(); if (particleEngine) { particleEngine->addTextRiseFadeOutEffect( info.first, - /*(int) pos.x, - (int) pos.y - 48,*/ getPixelX(), getPixelY() - 48, &userPalette->getColor(info.second), @@ -818,8 +813,6 @@ void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0) if (Net::getNetworkType() != ServerInfo::MANASERV) #endif { -// updatePos(); - if (Party::getParty(1)) { PartyMember *pm = Party::getParty(1)->getMember(getName()); @@ -973,7 +966,6 @@ bool LocalPlayer::pickUp(FloorItem *item) mPickUpTarget = item; mPickUpTarget->addActorSpriteListener(this); -// stopAttack(); } } return true; @@ -3042,10 +3034,7 @@ bool LocalPlayer::pickUpItems(int pickUpType) } item = actorSpriteManager->findItem(x, y); if (item) - { status = pickUp(item); -// status = true; - } break; case 2: switch (mDirection) @@ -3641,7 +3630,6 @@ void LocalPlayer::updateCoords() tmpLayer->clean(); tmpLayer->addRoad(mNavigatePath); } -// navigateTo(mNavigateX, mNavigateY); } } } |