X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fsv_main.qc;h=a5f35aa89ae3bc04a0e8d51d9ab5587dea084c1d;hb=2fb4172213439edb17c1d116747c75f9540f2017;hp=5b8ca7ff867daae82bfe1f4f9ac5f03fabe2f037;hpb=5764a546c4ad8680e37f49ea1f53943f2cf0d187;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 5b8ca7ff8..a5f35aa89 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -34,7 +34,7 @@ void CreatureFrame (void) } if (self.dmgtime < time) { - self.dmgtime = time + 0.1; + self.dmgtime = time + 0.2; if (self.watertype == CONTENT_LAVA) { if (self.watersound_finished < time) @@ -199,6 +199,8 @@ void StartFrame (void) sv_airspeedlimit_nonqw = cvar("sv_airspeedlimit_nonqw"); teamplay = cvar ("teamplay"); sys_frametime = cvar("sys_ticrate") * cvar("slowmo"); + if(sys_frametime <= 0) + sys_frametime = 1.0 / 60.0; // somewhat safe fallback sv_doublejump = cvar("sv_doublejump"); if (timeoutStatus == 1) // just before the timeout (when timeoutStatus will be 2)