void SUB_CalcMovePause(entity this)
{
+ if (!this.move_controller)
+ return;
this.move_controller.animstate_starttime += frametime;
this.move_controller.animstate_endtime += frametime;
}
break;
}
+ // Q3 implements this fallback for all movers at the end of its InitMover()
+ // If .speed is negative this applies, instead of the mover-specific default speed.
+ if (traveltime <= 0)
+ traveltime = 0.001;
+
// Very short animations don't really show off the effect
// of controlled animation, so let's just use linear movement.
// Alternatively entities can choose to specify non-controlled movement.