mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 12:51:39 +00:00
FTE/SERVER: Override for Quake deathmatch spawnflags
This commit is contained in:
parent
ba2f2f225a
commit
1fe616c2ea
1 changed files with 16 additions and 0 deletions
|
@ -82,6 +82,22 @@ void() change_frame =
|
|||
self.nextthink = time + 1;
|
||||
}
|
||||
|
||||
#ifdef FTE
|
||||
|
||||
void(void() spawnfunc) CheckSpawn =
|
||||
{
|
||||
//do your own skill/deathmatch spawnflag checks here because the engine won't when this function exists
|
||||
if (spawnfunc)
|
||||
spawnfunc();
|
||||
else
|
||||
{
|
||||
print(sprintf("no spawnfunc defined for %S\n", self.classname));
|
||||
remove(self);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // FTE
|
||||
|
||||
#ifndef FTE
|
||||
|
||||
void LoadWaypointData() = {};
|
||||
|
|
Loading…
Reference in a new issue