From: havoc Date: Wed, 18 May 2011 13:08:01 +0000 (+0000) Subject: fix a bug where the wrong PRVM_ macro was being used X-Git-Tag: xonotic-v0.6.0~163^2~393 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2625b75211299dbaff3e97e4d864e3b67117048a;p=xonotic%2Fdarkplaces.git fix a bug where the wrong PRVM_ macro was being used git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11153 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/world.c b/world.c index eadb9895..a0cac28c 100644 --- a/world.c +++ b/world.c @@ -2296,7 +2296,7 @@ treatasbox: //VectorCopy(PRVM_gameedictvector(ed, spinvelocity), spinvelocity); VectorCopy(PRVM_gameedictvector(ed, angles), angles); VectorCopy(PRVM_gameedictvector(ed, avelocity), avelocity); - if (PRVM_gameedictfloat(ed, gravity) != 0.0f && PRVM_EDICTFIELDFLOAT(ed, gravity) < 0.5f) gravity = false; + if (PRVM_gameedictfloat(ed, gravity) != 0.0f && PRVM_gameedictfloat(ed, gravity) < 0.5f) gravity = false; if (ed == prog->edicts) gravity = false;