diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-02 13:07:02 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-02 13:19:28 +0200 |
commit | 42c63de10f16c7d12955b653fc2e3a7743799551 (patch) | |
tree | 9951fd0c681c4fe95bbf54c24fb7f243bc92302a /src/player.cpp | |
parent | a48c48ab6d245697928f8ddb64e9da0a2ab5da1b (diff) | |
download | mana-42c63de10f16c7d12955b653fc2e3a7743799551.tar.gz mana-42c63de10f16c7d12955b653fc2e3a7743799551.tar.bz2 mana-42c63de10f16c7d12955b653fc2e3a7743799551.tar.xz mana-42c63de10f16c7d12955b653fc2e3a7743799551.zip |
Removed duplicated code in LocalPlayer
This code was present in both Player and LocalPlayer. If there's some
kind of issue with executing this stuff in a different order, it should
be solved differently.
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/player.cpp b/src/player.cpp index 839959b0..e1dc3806 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -82,23 +82,15 @@ void Player::logic() switch (mAction) { case STAND: - break; - case SIT: - break; - case DEAD: - break; - case HURT: break; case WALK: mFrame = (get_elapsed_time(mWalkTime) * 6) / getWalkSpeed(); - if (mFrame >= 6) nextStep(); - break; case ATTACK: |