diff options
author | dastgir <dastgirpojee@rocketmail.com> | 2015-02-11 10:01:41 -0500 |
---|---|---|
committer | dastgir <dastgirpojee@rocketmail.com> | 2015-02-11 10:01:41 -0500 |
commit | 0bd4a0178cd5beb8bee955777afe32392d75afa9 (patch) | |
tree | bb3062df27d13ada5938e6003f3b8eb55e42dc3a /src/map/HPMmap.c | |
parent | 56c4c0d997f0776c606a9a9594772f86ea181b68 (diff) | |
download | hercules-0bd4a0178cd5beb8bee955777afe32392d75afa9.tar.gz hercules-0bd4a0178cd5beb8bee955777afe32392d75afa9.tar.bz2 hercules-0bd4a0178cd5beb8bee955777afe32392d75afa9.tar.xz hercules-0bd4a0178cd5beb8bee955777afe32392d75afa9.zip |
Battleground Data to HPM Struct
Diffstat (limited to 'src/map/HPMmap.c')
-rw-r--r-- | src/map/HPMmap.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |