mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
r_part.c: fixed pointfile loading.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@772 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
9a78c9e829
commit
2a42d766a3
1 changed files with 5 additions and 2 deletions
|
@ -268,9 +268,12 @@ void R_ReadPointFile_f (void)
|
|||
int r;
|
||||
int c;
|
||||
particle_t *p;
|
||||
char name[MAX_OSPATH];
|
||||
char name[MAX_QPATH];
|
||||
|
||||
q_snprintf (name, sizeof(name), "maps/%s.pts", sv.name);
|
||||
if (cls.state != ca_connected)
|
||||
return; // need an active map.
|
||||
|
||||
q_snprintf (name, sizeof(name), "maps/%s.pts", cl.mapname);
|
||||
|
||||
COM_FOpenFile (name, &f, NULL);
|
||||
if (!f)
|
||||
|
|
Loading…
Reference in a new issue