diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
commit | b00e7bd024285970dd00cfc75d8e690bfa475501 (patch) | |
tree | 22ceeee3027fd4872f5621650557bc8ae4391948 /source/cl_locs.c | |
parent | 5eaaac93ad3b0d2777815717059d977912bd96f7 (diff) |
Changed Com_sprintf --> Q_concat in quite some cases.
Make sure WAVE sound driver is built by default.
Added --disable-wave option to `configure'.
Command line history is now remembered between sessions.
ALT+Space refreshes all servers in Server Browser.
Handle command line agruments like original Q2 engine did.
Diffstat (limited to 'source/cl_locs.c')
-rw-r--r-- | source/cl_locs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_locs.c b/source/cl_locs.c index a861bd5..c469037 100644 --- a/source/cl_locs.c +++ b/source/cl_locs.c @@ -62,14 +62,14 @@ LOC_LoadLocations ============== */ void LOC_LoadLocations( void ) { - char path[MAX_QPATH]; + char path[MAX_OSPATH]; char *buffer, *s, *p; int line, count; location_t *loc; int argc; // load from main directory - Com_sprintf( path, sizeof( path ), "locs/%s.loc", cl.mapname ); + Q_concat( path, sizeof( path ), "locs/", cl.mapname, ".loc", NULL ); FS_LoadFile( path, (void **)&buffer ); if( !buffer ) { |