From: black Date: Sun, 19 Dec 2004 22:55:00 +0000 (+0000) Subject: -Fixed a "bug" in PRVM_iscachedpic - it always returned true and thus no X-Git-Tag: xonotic-v0.1.0preview~5268 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=57e83cd494aff0694a774d2ceed7d350f35e134c;p=xonotic%2Fdarkplaces.git -Fixed a "bug" in PRVM_iscachedpic - it always returned true and thus no images were precached (now it always returns false and the menu halts for ~4 seconds after starting) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4871 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 341380d2..cad16a48 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -2532,7 +2532,7 @@ void VM_iscachedpic(void) VM_SAFEPARMCOUNT(1,VM_iscachedpic); // drawq hasnt such a function, thus always return true - PRVM_G_FLOAT(OFS_RETURN) = TRUE; + PRVM_G_FLOAT(OFS_RETURN) = false; } /*