diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-12 20:05:46 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-12 20:05:46 +0000 |
commit | 7e136ff3317cea53a8ecc6d21029b29562a04a34 (patch) | |
tree | 4779c08e66e675155f97bbe48fa2f26f209a1be7 /src/game.cpp | |
parent | edf872e4b6d3d689338305d749ba3972d77f7eb8 (diff) | |
download | mana-7e136ff3317cea53a8ecc6d21029b29562a04a34.tar.gz mana-7e136ff3317cea53a8ecc6d21029b29562a04a34.tar.bz2 mana-7e136ff3317cea53a8ecc6d21029b29562a04a34.tar.xz mana-7e136ff3317cea53a8ecc6d21029b29562a04a34.zip |
Hair styles
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index ab0501c2..8b14202b 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -48,7 +48,7 @@ bool refresh_beings = false; unsigned char keyb_state; volatile int tick_time; volatile bool refresh = false, action_time = false; -int current_npc; +int current_npc, server_tick; #define MAX_TIME 10000 @@ -386,7 +386,10 @@ void do_parse() { if(get_src_y(RFIFOP(6))==src_y) if(get_dest_x(RFIFOP(6))==get_x(player_node->coordinates)) if(get_dest_y(RFIFOP(6))==get_y(player_node->coordinates))*/ + if(RFIFOL(2)>server_tick) { walk_status = 2; + server_tick = RFIFOL(2); + } } break; // Add new being / stop monster |