FTE/SERVER: Override for Quake deathmatch spawnflags

This commit is contained in:
cypress 2023-12-16 12:34:17 -05:00
parent ba2f2f225a
commit 1fe616c2ea

View file

@ -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() = {};