Implement ability for NPC Merchants to open and close shop

This commit is contained in:
Michael Cook (mackal) committed 2014-04-01 21:03:49 -04:00
1 parent 174cb1876a
commit 8866b3170e
8 files changed
+63 -3

No files matched your search

+1
View File
@@ -199,6 +199,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, float x, float y, float z, float
SetMana(GetMaxMana());
MerchantType = d->merchanttype;
merchant_open = GetClass() == MERCHANT;
adventure_template_id = d->adventure_template;
org_x = x;
org_y = y;