summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index ff625f2f3..980ec5320 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -9848,7 +9848,7 @@ int buildin_npcshopitem(struct script_state *st)
#define MAX_SHOPITEM 100
#endif
- if(nd && nd->bl.subtype=SHOP){
+ if(nd && nd->bl.subtype==SHOP){
nd = (struct npc_data *)aRealloc(nd,sizeof(struct npc_data) +
sizeof(nd->u.shop_item[0]) * (MAX_SHOPITEM + 1));