// TODO: split target_push and put it in the target folder
#ifdef SVQC
-#include "../../../server/_all.qh"
#include "jumppads.qh"
#include "../../movetypes/movetypes.qh"
*/
spawnfunc(trigger_push)
{
- SetMovedir ();
+ SetMovedir(self);
EXACTTRIGGER_INIT;
}
-float target_push_send(entity to, float sf)
-{SELFPARAM();
+bool target_push_send(entity this, entity to, float sf)
+{
WriteByte(MSG_ENTITY, ENT_CLIENT_TARGET_PUSH);
WriteByte(MSG_ENTITY, self.cnt);