Fix D2 editor loading RDL files
This commit is contained in:
parent
ba1bbce571
commit
9efbba6c94
|
@ -1305,7 +1305,7 @@ int load_level(const char * filename_passed)
|
|||
|
||||
if (!PHYSFSX_exists(filename,1))
|
||||
{
|
||||
char *p = strrchr(filename, '.');
|
||||
const char *p = strrchr(filename_passed, '.');
|
||||
|
||||
if (d_stricmp(p, ".lvl"))
|
||||
strcpy(filename, filename_passed); // set to what was passed
|
||||
|
|
Loading…
Reference in a new issue