From 96e61ed3ff7e41976ac8788363d6df8719037962 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sat, 16 Jul 2005 14:04:07 +0000 Subject: - Fixing data path in Win32 - Adding default values to config - Fixes after Bertram changes (I hope this way it works even in Linux) - Error message are now displayed in browser for better readability - Already downloaded files are not downloaded aother time (As usually it needs testing so please report to me evry malfunctioning) --- src/game.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 6013e4d5..48a4fd8d 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -752,6 +752,13 @@ int get_packet_length(short id) void do_parse() { + + +/*switch 0079, actor connected + [10:44] Joseph_: 0078, actor_exists + [10:44] Munak: Heck, if Bill Clinton can do it surely *I* can! + [10:45] Joseph_: 007B, 01D8, 01D9, 01DA are the others*/ + unsigned short id; char *temp; Being *being = NULL; @@ -880,6 +887,8 @@ void do_parse() being->y = get_y(RFIFOP(46)); being->direction = get_direction(RFIFOP(46)); being->weapon = RFIFOW(18); + if (being->isPlayer()) + std::cout << RFIFOW(18) << std::endl; add_node(being); } else -- cgit v1.2.3-60-g2f50