PM_Accelerate(wishdir, wishspeed, wishspeed, PHYS_ACCELERATE*maxspd_mod, 1, 0, 0, 0);
}
+void PM_check_jumppad()
+{
+#ifdef CSQC
+ entity oldself = self;
+
+ for(self = world; (self = find(self, classname, "jumppad")); )
+ trigger_push_draw();
+
+ self = oldself;
+#endif
+}
+
void PM_jetpack(float maxspd_mod)
{
//makevectors(PHYS_INPUT_ANGLES(self).y * '0 1 0');
void PM_Main()
{
+ PM_check_jumppad();
float buttons = PHYS_INPUT_BUTTON_MASK(self);
#ifdef CSQC
+ self.team = myteam + 1; // is this correct?
//Con_Printf(" %f", PHYS_INPUT_TIMELENGTH);
if (!(PHYS_INPUT_BUTTON_JUMP(self))) // !jump
UNSET_JUMP_HELD(self); // canjump = true
#endif
CheckPlayerJump();
-
if (self.flags & /* FL_WATERJUMP */ 2048)
{
self.velocity_x = self.movedir_x;