- added a 'copy portal' option so that linedef-based portals can be transferred to sectors that already have a tag.

SVN r2053 (trunk)
This commit is contained in:
Christoph Oelckers 2009-12-28 00:01:07 +00:00
commit 4a8518e4f1
2 changed files with 42 additions and 12 deletions

View file

@ -1601,9 +1601,6 @@ void P_SpawnThings (int position)
{
int numthings = MapThingsConverted.Size();
// [RH] Spawn slope creating things first.
P_SpawnSlopeMakers (&MapThingsConverted[0], &MapThingsConverted[numthings]);
for (int i=0; i < numthings; i++)
{
SpawnMapThing (i, &MapThingsConverted[i], position);
@ -3623,11 +3620,14 @@ void P_SetupLevel (char *lumpname, int position)
deathmatchstarts.Clear ();
// Spawn 3d floors - must be done before spawning things so it can't be done in P_SpawnSpecials
P_Spawn3DFloors();
if (!buildmap)
{
// [RH] Spawn slope creating things first.
P_SpawnSlopeMakers (&MapThingsConverted[0], &MapThingsConverted[MapThingsConverted.Size()]);
// Spawn 3d floors - must be done before spawning things so it can't be done in P_SpawnSpecials
P_Spawn3DFloors();
times[14].Clock();
P_SpawnThings(position);