summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/being.cpp1
-rw-r--r--src/game.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 51728f80..c4ca63b6 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -134,6 +134,7 @@ Being::Being():
hair_style(1), hair_color(1),
weapon(0)
{
+ strcpy(name, "");
}
Being::~Being() {
diff --git a/src/game.cpp b/src/game.cpp
index 3def09f5..8ce8f547 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -575,11 +575,11 @@ void do_parse() {
}
fclose(file);
*/
-//#ifdef __DEBUG
+#ifdef __DEBUG
FILE *file = fopen("./docs/packet.list", "a");
fprintf(file, "%x\n", RFIFOW(0));
fclose(file);
-//#endif
+#endif
// Parse packet based on their id
switch (id) {
case SMSG_LOGIN_SUCCESS: