diff options
Diffstat (limited to 'src/net/protocol.cpp')
-rw-r--r-- | src/net/protocol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp index de41467e..eac679bc 100644 --- a/src/net/protocol.cpp +++ b/src/net/protocol.cpp @@ -243,9 +243,6 @@ Being* attack(unsigned short x, unsigned short y, unsigned char direction) return target; } - // Implement charging attacks here - char_info->lastAttackTime = 0; - return NULL; } @@ -269,6 +266,9 @@ void attack(Being *target) player_node->direction = WEST; } + // Implement charging attacks here + char_info->lastAttackTime = 0; + player_node->action = ATTACK; action(0, target->id); player_node->walk_time = tick_time; |