and fix a ton more minor performance issues

This commit is contained in:
DarthArgus
2014-10-27 22:39:57 -07:00
parent 14eaf713d0
commit c9c39d5713
97 changed files with 266 additions and 376 deletions
@@ -11719,10 +11719,8 @@ void CreatureObject::addPackedWearable(std::string const &appearanceData, int ar
// we own the weaponSharedBaselines and weaponSharedBaselines pointers, so if
// we are not going to add them to the wearables list, we must delete them
if (weaponSharedBaselines)
delete weaponSharedBaselines;
if (weaponSharedNpBaselines)
delete weaponSharedNpBaselines;
delete weaponSharedBaselines;
delete weaponSharedNpBaselines;
return;
}