From 0bd4a0178cd5beb8bee955777afe32392d75afa9 Mon Sep 17 00:00:00 2001 From: dastgir Date: Wed, 11 Feb 2015 10:01:41 -0500 Subject: Battleground Data to HPM Struct --- src/map/HPMmap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/HPMmap.c') diff --git a/src/map/HPMmap.c b/src/map/HPMmap.c index 3da49c3b9..d6a1bd8ef 100644 --- a/src/map/HPMmap.c +++ b/src/map/HPMmap.c @@ -114,6 +114,10 @@ bool HPM_map_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataType ret->HPDataSRCPtr = (void**)(&((struct item_data *)ptr)->hdata); ret->hdatac = &((struct item_data *)ptr)->hdatac; break; + case HPDT_BGDATA: + ret->HPDataSRCPtr = (void**)(&((struct battleground_data *)ptr)->hdata); + ret->hdatac = &((struct battleground_data *)ptr)->hdatac; + break; default: return false; } -- cgit v1.2.3-70-g09d2