diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-11 01:08:52 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-11 01:08:52 +0000 |
commit | 06c3e2cbf10034bd348376632ccc30de9da97e5d (patch) | |
tree | b17a6f6dd71571aa8192003ecdc976ebb717027f /src/net/protocol.cpp | |
parent | 2a964c1fa537e58daee14af6a68a3ef0224c8d65 (diff) | |
download | mana-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.gz mana-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.bz2 mana-06c3e2cbf10034bd348376632ccc30de9da97e5d.tar.xz mana-06c3e2cbf10034bd348376632ccc30de9da97e5d.zip |
Removed Allegro dependency on logger, which now also produces timestamped
categorized messages instead of using the configuration file approach.
Diffstat (limited to 'src/net/protocol.cpp')
-rw-r--r-- | src/net/protocol.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/protocol.cpp b/src/net/protocol.cpp index 98530a4d..e1c1af9a 100644 --- a/src/net/protocol.cpp +++ b/src/net/protocol.cpp @@ -184,10 +184,9 @@ void map_start() { while(in_size<11)flush(); x = get_x(RFIFOP(6)); y = get_y(RFIFOP(6)); - log_int("Player", "x", x); - log_int("Player", "y", y); //direction = get_direction(RFIFOP(6)); - log_int("Player", "direction", direction); + log("Protocol", "Player position: (%d, %d), Direction: %d", + x, y, direction); RFIFOSKIP(11); } else if(0x0081) { warning("Map server D/C"); |