diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Pools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pools.cpp b/src/core/Pools.cpp index b9a78b0b..e82fa6e2 100644 --- a/src/core/Pools.cpp +++ b/src/core/Pools.cpp @@ -88,7 +88,7 @@ CPools::MakeSureSlotInObjectPoolIsEmpty(int32 slot) delete object; } else if (!CProjectileInfo::RemoveIfThisIsAProjectile(object)) { // relocate to another slot?? - CObject *newObject = new CObject(); + CObject *newObject = new CObject(object->GetModelIndex(), false); CWorld::Remove(object); memcpy(newObject, object, ms_pObjectPool->GetMaxEntrySize()); CWorld::Add(newObject); |