summaryrefslogtreecommitdiff
path: root/src/map/HPMmap.c
diff options
context:
space:
mode:
authordastgir <dastgirpojee@rocketmail.com>2015-09-09 09:28:39 -0400
committerdastgir <dastgirpojee@rocketmail.com>2015-09-09 10:03:58 -0400
commit0af11c16f1daf23d77a237b9452945706e9b40bc (patch)
tree004aa5258eb7eb37a29b8dc04a9df6b357ee0857 /src/map/HPMmap.c
parentc76aa5f4843a521b1839875bf6c139f4658bd6d1 (diff)
downloadhercules-0af11c16f1daf23d77a237b9452945706e9b40bc.tar.gz
hercules-0af11c16f1daf23d77a237b9452945706e9b40bc.tar.bz2
hercules-0af11c16f1daf23d77a237b9452945706e9b40bc.tar.xz
hercules-0af11c16f1daf23d77a237b9452945706e9b40bc.zip
Autotrade Struct to HPM
Diffstat (limited to 'src/map/HPMmap.c')
-rw-r--r--src/map/HPMmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/HPMmap.c b/src/map/HPMmap.c
index a59fbb6ef..0bd231e3a 100644
--- a/src/map/HPMmap.c
+++ b/src/map/HPMmap.c
@@ -128,6 +128,10 @@ bool HPM_map_grabHPData(struct HPDataOperationStorage *ret, enum HPluginDataType
ret->HPDataSRCPtr = (void**)(&((struct battleground_data *)ptr)->hdata);
ret->hdatac = &((struct battleground_data *)ptr)->hdatac;
break;
+ case HPDT_AUTOTRADE_VEND:
+ ret->HPDataSRCPtr = (void**)(&((struct autotrade_vending *)ptr)->hdata);
+ ret->hdatac = &((struct autotrade_vending *)ptr)->hdatac;
+ break;
default:
return false;
}