#include "gamestart.qh"
+
#ifdef SVQC
void gamestart_use(entity this, entity actor, entity trigger)
{
SUB_UseTargets(this, this, trigger);
- delete(this);
-}
-
-void gamestart_use_this(entity this)
-{
- gamestart_use(this, NULL, NULL);
+ delete(this); // TODO: deleting this means it can't be used upon map reset!
}
spawnfunc(trigger_gamestart)
this.nextthink = game_starttime + this.wait;
}
else
- InitializeEntity(this, gamestart_use_this, INITPRIO_FINDTARGET);
+ InitializeEntity(this, adaptor_think2use, INITPRIO_FINDTARGET);
}
-
#endif