Fix another place where corpse is added twice to a grid.

This commit is contained in:
megamage
2011-11-11 18:57:50 -05:00
parent 07cf71fdd4
commit 077a2194ba

View File

@@ -126,6 +126,12 @@ void LoadHelper(CellCorpseSet const& cell_corpses, CellCoord &cell, CorpseMapTyp
// in that case map == currMap
obj->SetMap(map);
if (obj->IsInGrid())
{
obj->AddToWorld();
continue;
}
AddObjectHelper(cell, m, count, map, obj);
}
}