mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +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);
|
||||
|
||||
[self setCurrentEntity: [self objectAtIndex:0]];
|
||||
|
||||
[self addSelected];
|
||||
|
||||
// load the apropriate texture wad
|
||||
|
@ -274,6 +272,8 @@ readMapFile
|
|||
[project_i setTextureWad:wad];
|
||||
}
|
||||
}
|
||||
|
||||
[self setCurrentEntity: [self objectAtIndex:0]];
|
||||
// center the camera and XY view on the playerstart
|
||||
c =[self count];
|
||||
for (i = 1; i < c; i++) {
|
||||
|
@ -455,10 +455,14 @@ to intervening world brushes
|
|||
}
|
||||
|
||||
[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 {
|
||||
[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];
|
||||
|
|
Loading…
Reference in a new issue