]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qh
Update physics stats on connect (fixes sometimes spawning inside the floor)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / player.qh
index 9f540148deb9b8c08908376e644c4c5e93a862a0..1899b1f60f8d79b3c700f201a660e11fcd219989 100644 (file)
@@ -247,6 +247,8 @@ STATIC_INIT(PHYS_INPUT_BUTTON_JETPACK)
 
        bool Physics_Valid(string thecvar);
 
+       void Physics_UpdateStats(entity this, float maxspd_mod);
+
        .float stat_sv_airspeedlimit_nonqw = _STAT(MOVEVARS_AIRSPEEDLIMIT_NONQW);
        .float stat_sv_maxspeed = _STAT(MOVEVARS_MAXSPEED);