mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
Fix projectile bug
This commit is contained in:
parent
70264eae3b
commit
ac4c904e62
@ -2199,6 +2199,7 @@ namespace MWWorld
|
|||||||
{
|
{
|
||||||
if (!mWorldScene->isCellActive(*it->first.getCell()))
|
if (!mWorldScene->isCellActive(*it->first.getCell()))
|
||||||
{
|
{
|
||||||
|
deleteObject(it->first);
|
||||||
mProjectiles.erase(it++);
|
mProjectiles.erase(it++);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user