From: z411 Date: Mon, 7 Sep 2020 22:25:53 +0000 (-0300) Subject: Physics now still run if game hasn't started yet X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c88e999122774e31da25a0172cc589c177ad232b;p=xonotic%2Fxonotic-data.pk3dir.git Physics now still run if game hasn't started yet --- diff --git a/qcsrc/ecs/systems/sv_physics.qc b/qcsrc/ecs/systems/sv_physics.qc index 175c57c48..1d5553d1d 100644 --- a/qcsrc/ecs/systems/sv_physics.qc +++ b/qcsrc/ecs/systems/sv_physics.qc @@ -40,7 +40,9 @@ void sys_phys_ai(entity this) void sys_phys_pregame_hold(entity this) { if (!IS_PLAYER(this)) { return; } - const bool allowed_to_move = (time >= game_starttime && !game_stopped); + // z411 + //const bool allowed_to_move = (time >= game_starttime && !game_stopped); + const bool allowed_to_move = (!game_stopped); if (!allowed_to_move) { this.velocity = '0 0 0'; set_movetype(this, MOVETYPE_NONE);