summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2009-10-03 11:43:18 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:16 +0000
commitaaa6c764b0faf5bcdc0108eed7a18a130caab662 (patch)
tree81da79cad34c0ce8309ee061a13ad10067aab702 /src
parent7a1131be0d20b5c02177d02a9402a953acccd6ea (diff)
* don't call COM_Compress() on scripts stored in memory. This causes
incorrect line numbers to be reported.
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/parse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qcommon/parse.c b/src/qcommon/parse.c
index 85e9ab81..892f8f4f 100644
--- a/src/qcommon/parse.c
+++ b/src/qcommon/parse.c
@@ -1045,7 +1045,6 @@ static script_t *Parse_LoadScriptFile(const char *filename)
FS_Read(script->buffer, length, fp);
FS_FCloseFile(fp);
//
- script->length = COM_Compress(script->buffer);
return script;
}