mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-17 07:03:02 -04:00
and fix a ton more minor performance issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user