Changed SummonItem to no longer recharge 0 charge items

This commit is contained in:
Sorvani
2013-09-30 20:57:12 -05:00
parent d119ed058b
commit 478f7b8e49
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ public:
void say(const char *str);
void say(const char *str, uint8 language);
void me(const char *str);
void summonitem(uint32 itemid, int16 charges = 0);
void summonitem(uint32 itemid, int16 charges = -1);
void write(const char *file, const char *str);
Mob* spawn2(int npc_type, int grid, int unused, float x, float y, float z, float heading);
Mob* unique_spawn(int npc_type, int grid, int unused, float x, float y, float z, float heading = 0);