summaryrefslogtreecommitdiff
path: root/src/emap/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/data')
-rw-r--r--src/emap/data/bgd.c5
-rw-r--r--src/emap/data/session.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/emap/data/bgd.c b/src/emap/data/bgd.c
index 6f5956c..187317e 100644
--- a/src/emap/data/bgd.c
+++ b/src/emap/data/bgd.c
@@ -23,9 +23,14 @@ struct BgdExt *bgd_get(struct battleground_data *bd)
struct BgdExt *data = getFromBGDATA(bd, 0);
if (!data)
{
+ ShowWarning("creating bg\n");
data = bgd_create();
addToBGDATA(bd, data, 0, true);
}
+ else
+ {
+ ShowWarning("getting bg\n");
+ }
return data;
}
diff --git a/src/emap/data/session.c b/src/emap/data/session.c
index 0275ca5..fe8a423 100644
--- a/src/emap/data/session.c
+++ b/src/emap/data/session.c
@@ -46,5 +46,6 @@ struct SessionExt *session_create(void)
data->language = 0;
data->state = 0;
data->onlinelistlasttime = 0;
+ data->teamId = 0;
return data;
}