summaryrefslogtreecommitdiff
path: root/src/emap/data/bgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/data/bgd.c')
-rw-r--r--src/emap/data/bgd.c5
1 files changed, 5 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;
}