mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
Get the timing right when setting the wad file in worldspawn.
This commit is contained in:
parent
939605309f
commit
646422d683
1 changed files with 8 additions and 4 deletions
|
@ -260,8 +260,6 @@ readMapFile
|
||||||
|
|
||||||
free (dat);
|
free (dat);
|
||||||
|
|
||||||
[self setCurrentEntity: [self objectAtIndex:0]];
|
|
||||||
|
|
||||||
[self addSelected];
|
[self addSelected];
|
||||||
|
|
||||||
// load the apropriate texture wad
|
// load the apropriate texture wad
|
||||||
|
@ -274,6 +272,8 @@ readMapFile
|
||||||
[project_i setTextureWad:wad];
|
[project_i setTextureWad:wad];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[self setCurrentEntity: [self objectAtIndex:0]];
|
||||||
// center the camera and XY view on the playerstart
|
// center the camera and XY view on the playerstart
|
||||||
c =[self count];
|
c =[self count];
|
||||||
for (i = 1; i < c; i++) {
|
for (i = 1; i < c; i++) {
|
||||||
|
@ -455,10 +455,14 @@ to intervening world brushes
|
||||||
}
|
}
|
||||||
|
|
||||||
[bestbrush setSelected:YES];
|
[bestbrush setSelected:YES];
|
||||||
Sys_Printf ("selected entity %i brush %i face %i\n", (int)[self indexOfObject: bestent], (int)[bestent indexOfObject:bestbrush], bestface);
|
Sys_Printf ("selected entity %i brush %i face %i\n",
|
||||||
|
(int)[self indexOfObject: bestent],
|
||||||
|
(int)[bestent indexOfObject:bestbrush], bestface);
|
||||||
} else {
|
} else {
|
||||||
[bestbrush setSelected:NO];
|
[bestbrush setSelected:NO];
|
||||||
Sys_Printf ("deselected entity %i brush %i face %i\n", (int)[self indexOfObject: bestent], (int)[bestent indexOfObject:bestbrush], bestface);
|
Sys_Printf ("deselected entity %i brush %i face %i\n",
|
||||||
|
(int)[self indexOfObject: bestent],
|
||||||
|
(int)[bestent indexOfObject:bestbrush], bestface);
|
||||||
}
|
}
|
||||||
|
|
||||||
[quakeed_i enableFlushWindow];
|
[quakeed_i enableFlushWindow];
|
||||||
|
|
Loading…
Reference in a new issue