aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-23 20:04:42 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-04-23 20:04:42 +0000
commit6532179d3dbc7d495cf7a401d9fb40fc2f7815e6 (patch)
tree7cc2128dc2227f1ab339dada4d5e1fe09032410b /code
parent3d91285970ca3f047c5991c471415a371e4fe09d (diff)
downloadioquake3-aero-6532179d3dbc7d495cf7a401d9fb40fc2f7815e6.tar.gz
ioquake3-aero-6532179d3dbc7d495cf7a401d9fb40fc2f7815e6.zip
Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh!
git-svn-id: svn://svn.icculus.org/quake3/trunk@722 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/files.c b/code/qcommon/files.c
index 2630a5c..5bb91a8 100644
--- a/code/qcommon/files.c
+++ b/code/qcommon/files.c
@@ -2565,7 +2565,7 @@ qboolean FS_idPak( char *pak, char *base ) {
*pakptr = '\0';
for (i = 0; i < NUM_ID_PAKS; i++) {
- if ( !FS_FilenameCompare(pak, va("%s/pak%d", base, i)) ) {
+ if ( !FS_FilenameCompare(pakbuf, va("%s/pak%d", base, i)) ) {
break;
}
}