- scriptified PowerIronFeet and PowerMask.

This commit is contained in:
Christoph Oelckers 2017-01-16 19:04:03 +01:00
commit 616f954153
6 changed files with 56 additions and 92 deletions

View file

@ -495,7 +495,7 @@ void FSerializer::Close()
{
// we must explicitly delete all thinkers in the array which did not get linked into the thinker lists.
// Otherwise these objects may survive a level deletion and point to incorrect data.
for (auto &obj : r->mDObjects)
for (auto obj : r->mDObjects)
{
auto think = dyn_cast<DThinker>(obj);
if (think != nullptr)