diff options
Diffstat (limited to 'src/monster.cpp')
-rw-r--r-- | src/monster.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/monster.cpp b/src/monster.cpp index 26345a6c..aba242b6 100644 --- a/src/monster.cpp +++ b/src/monster.cpp @@ -35,20 +35,6 @@ Monster::Monster(Uint32 id, Uint16 job, Map *map): mSprites[BASE_SPRITE] = new AnimatedSprite("graphics/sprites/monster" + toString(job - 1002) + ".xml", 0); } -void -Monster::logic() -{ - if (mAction != STAND) - { - if (get_elapsed_time(mWalkTime) >= mWalkSpeed && mAction != MONSTER_DEAD) - { - nextStep(); - } - } - - Being::logic(); -} - Being::Type Monster::getType() const { |