From 857794d1c02fd0719634bea9674caa8c76d97007 Mon Sep 17 00:00:00 2001 From: Kiyoshi Kyokai Date: Tue, 1 Mar 2005 04:06:17 +0000 Subject: This is the update for the charge bar. It resets every time an attack message is sent to the server. I still haven't actually worked the timer into this. I'd appreciate it if someone would explain how. Thanks. --- src/net/protocol.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net') diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp index 40110144..b59a8c68 100644 --- a/src/net/protocol.cpp +++ b/src/net/protocol.cpp @@ -235,4 +235,6 @@ void attack(unsigned short x, unsigned short y, unsigned char direction) { if (monster_id != 0) action(0, monster_id); } + // implement charging attacks here + char_info->lastAttackTime = 0; } -- cgit v1.2.3-70-g09d2