git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11661
d7cf8633-e32d-0410-b094-
e92efae38249
// 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)