summaryrefslogtreecommitdiff
path: root/src/map/vending.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-01 17:03:58 -0300
committershennetsind <ind@henn.et>2013-07-01 17:03:58 -0300
commit8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae (patch)
tree19f4867edc832db018feb79f51f501b3cd970d9b /src/map/vending.c
parentc1401ff17207e9c2aac551066f0bd90928dd90bb (diff)
downloadhercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.gz
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.bz2
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.tar.xz
hercules-8de3c1118a6a7a235cc7a3e77f24b0c4c5c397ae.zip
Fixed Bug #7216
Special Thanks to Shikazu, wouldn't have been able to identify this issue without his help! http://hercules.ws/board/index.php?app=tracker&showissue=7216 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/vending.c')
-rw-r--r--src/map/vending.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/vending.c b/src/map/vending.c
index 898008a3a..2784d46a2 100644
--- a/src/map/vending.c
+++ b/src/map/vending.c
@@ -21,6 +21,8 @@
#include <stdio.h>
#include <string.h>
+struct vending_interface vending_s;
+
/// Returns an unique vending shop id.
static inline unsigned int getid(void) {
return vending->next_id++;