summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-07-16 14:04:07 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-07-16 14:04:07 +0000
commit96e61ed3ff7e41976ac8788363d6df8719037962 (patch)
tree28326c7110293980043c38d0b7bc1669323802ab /src/game.cpp
parentd9aa17b843253b05278e10f804a48ab036fb6119 (diff)
downloadmana-client-96e61ed3ff7e41976ac8788363d6df8719037962.tar.gz
mana-client-96e61ed3ff7e41976ac8788363d6df8719037962.tar.bz2
mana-client-96e61ed3ff7e41976ac8788363d6df8719037962.tar.xz
mana-client-96e61ed3ff7e41976ac8788363d6df8719037962.zip
- 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)
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp9
1 files changed, 9 insertions, 0 deletions
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