Fix for special_abilities crash dealing with std::string in struct that was then memcpyed

This commit is contained in:
KimLS
2013-07-18 00:24:43 -07:00
parent 2331678312
commit 1f2145a45d
8 changed files with 17 additions and 27 deletions
+1 -1
View File
@@ -3373,7 +3373,7 @@ void command_viewnpctype(Client *c, const Seperator *sep)
c->Message(0, " Class: %i", npct->class_);
c->Message(0, " MinDmg: %i", npct->min_dmg);
c->Message(0, " MaxDmg: %i", npct->max_dmg);
c->Message(0, " Special Abilities: %s", npct->special_abilities.c_str());
c->Message(0, " Special Abilities: %s", npct->special_abilities);
c->Message(0, " Spells: %i", npct->npc_spells_id);
c->Message(0, " Loot Table: %i", npct->loottable_id);
c->Message(0, " NPCFactionID: %i", npct->npc_faction_id);