From ec41df875c4da819f42fb2c5ef97da167a426b64 Mon Sep 17 00:00:00 2001 From: TimeServ Date: Sun, 13 Jan 2008 00:25:06 +0000 Subject: [PATCH] terrible workaround for optimization floating point compare problems git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2856 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/sv_send.c b/engine/server/sv_send.c index 1e2b9be09..789685e24 100644 --- a/engine/server/sv_send.c +++ b/engine/server/sv_send.c @@ -1520,7 +1520,7 @@ SV_UpdateToReliableMessages */ void SV_UpdateToReliableMessages (void) { - float newval; + volatile float newval; // needed to ensure 32/32-bit fp comparisons int i, j; client_t *client, *sp; edict_t *ent;