diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index fe63f02e8..9ccf76573 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -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=0;(*level)--) + for (*level=0;*level