X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=host.c;h=9b717993a938187a989c26f5f98585c2a2c66df3;hb=7a1436391f520ba36288eff409fab6019f7cba37;hp=2e5030350f4f8a40e2c26189c8cbf7a77cc4eb58;hpb=69dc4995cec1bc75263e25dec4ba53356988b62d;p=xonotic%2Fdarkplaces.git diff --git a/host.c b/host.c index 2e503035..9b717993 100644 --- a/host.c +++ b/host.c @@ -899,7 +899,7 @@ void Host_Main(void) SV_SendClientMessages(); if (sv.paused == 1 && realtime > sv.pausedstart && sv.pausedstart > 0) { - prog->globals.generic[OFS_PARM0] = realtime - sv.pausedstart; + prog->globals.fp[OFS_PARM0] = realtime - sv.pausedstart; PRVM_serverglobalfloat(time) = sv.time; prog->ExecuteProgram(prog, PRVM_serverfunction(SV_PausedTic), "QC function SV_PausedTic is missing"); }