From: havoc Date: Sat, 28 Jan 2012 17:59:05 +0000 (+0000) Subject: remove a confusing #if X-Git-Tag: xonotic-v0.6.0~47 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6e09fe6e126e488220bdd7318f769a3d4ff24359;p=xonotic%2Fdarkplaces.git remove a confusing #if git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11661 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=30cf63b2c3ac0d77fd03ac4ef2d7491ffbede20e --- diff --git a/prvm_edict.c b/prvm_edict.c index 25f9899a..c4687b50 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -2726,9 +2726,7 @@ int PRVM_SetEngineString(prvm_prog_t *prog, const char *s) // if it's in the tempstrings area, use a reserved range // (otherwise we'd get millions of useless string offsets cluttering the database) if (s >= (char *)prog->tempstringsbuf.data && s < (char *)prog->tempstringsbuf.data + prog->tempstringsbuf.maxsize) -#if 1 return prog->stringssize + (s - (char *)prog->tempstringsbuf.data); -#endif // see if it's a known string address for (i = 0;i < prog->numknownstrings;i++) if (prog->knownstrings[i] == s)