#define PHYS_FROZEN(s) STAT(FROZEN, s)
-#define PHYS_GRAVITY(s) STAT(MOVEVARS_GRAVITY, s)
-
#define PHYS_HIGHSPEED STAT(MOVEVARS_HIGHSPEED, this)
#define PHYS_JETPACK_ACCEL_SIDE STAT(JETPACK_ACCEL_SIDE, this)
//float player_multijump;
//float player_jumpheight;
+ #define PHYS_GRAVITY(s) STAT(MOVEVARS_GRAVITY, s)
+
#define PHYS_TELEPORT_TIME(s) pmove_waterjumptime
#define TICRATE ticrate
#define PHYS_TELEPORT_TIME(s) s.teleport_time
+ #define PHYS_GRAVITY(s) autocvar_sv_gravity
+
#define TICRATE sys_frametime
#define PHYS_INPUT_ANGLES(s) s.v_angle
torg = tgt.origin + (tgt.mins + tgt.maxs) * 0.5;
-#ifdef SVQC
- grav = autocvar_sv_gravity;
-#elif defined(CSQC)
grav = PHYS_GRAVITY(other);
-#endif
if(PHYS_ENTGRAVITY(other))
grav *= PHYS_ENTGRAVITY(other);