]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
added PRVM_64 define which upgrades the QC VM to double precision
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 2e5030350f4f8a40e2c26189c8cbf7a77cc4eb58..9b717993a938187a989c26f5f98585c2a2c66df3 100644 (file)
--- 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");
                        }