diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 6927ee18..b53df444 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1203,11 +1203,15 @@ void do_parse() if (RFIFOL(2) != player_node->id) { // buggy being = findNode(RFIFOL(2)); if (being != NULL) { - if (being->job<10) { + if (being->isPlayer()) { being->action = ATTACK; + being->frame = 0; + being->walk_time = tick_time; } else { being->action = MONSTER_ATTACK; + being->frame = 0; + being->walk_time = tick_time; } being->frame = 0; } |