mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-25 15:11:33 +00:00
Fix projectile bug
This commit is contained in:
parent
70264eae3b
commit
ac4c904e62
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue