mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
I need to stop changing shit when I'm tired
git-svn-id: https://svn.eduke32.com/eduke32@974 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c9b1da3653
commit
1ce5d73762
1 changed files with 2 additions and 2 deletions
|
@ -1591,9 +1591,9 @@ extern int voting, vote_map, vote_episode;
|
|||
|
||||
void getlevelfromfilename(const char *fn, char *volume, char *level)
|
||||
{
|
||||
for (*volume=MAXVOLUMES-1;*volume>=0;(*volume)--)
|
||||
for (*volume=0;*volume<MAXVOLUMES;(*volume)++)
|
||||
{
|
||||
for (*level=MAXLEVELS-1;*level>=0;(*level)--)
|
||||
for (*level=0;*level<MAXLEVELS;(*level)++)
|
||||
{
|
||||
if (map[(*volume*MAXLEVELS)+*level].filename != NULL)
|
||||
if (!Bstrcasecmp(fn, map[(*volume*MAXLEVELS)+*level].filename))
|
||||
|
|
Loading…
Reference in a new issue