summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-03-15 19:18:46 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-03-15 19:18:46 +0100
commitd61c66a34b1fbb88267cf2ef9adf8bc03d52cb84 (patch)
treed999d3eb022287e611afec03cb151ce3e5d71d5d /src/being.cpp
parent6265ef44e8308ac9a27abec68839c2a884a8f09e (diff)
downloadmana-client-d61c66a34b1fbb88267cf2ef9adf8bc03d52cb84.tar.gz
mana-client-d61c66a34b1fbb88267cf2ef9adf8bc03d52cb84.tar.bz2
mana-client-d61c66a34b1fbb88267cf2ef9adf8bc03d52cb84.tar.xz
mana-client-d61c66a34b1fbb88267cf2ef9adf8bc03d52cb84.zip
Add a tolerance check on current position to limit desyncs.
Also removed dead code.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 86bebea2..fc2f2f2d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -770,10 +770,6 @@ void Being::logic()
ActorSprite::logic();
- int frameCount = getFrameCount();
- if (frameCount < 10)
- frameCount = 10;
-
// Remove it after 3 secs. TODO: Just play the dead animation before removing
if (!isAlive() && Net::getGameHandler()->removeDeadBeings() &&
get_elapsed_time(mActionTime) > 3000)