vfswad: lowercase the wad name at load time, because queries from map/parse.cpp come in as lowercase

This commit is contained in:
Eric Wasylishen 2014-01-20 12:59:36 -07:00
parent 12bc0b1633
commit 01f7a979ae

View file

@ -164,6 +164,7 @@ static void vfsInitPakFile( const char *filename ){
strcpy( wadname,wadnameptr );
wadname[strlen( wadname ) - 4] = 0; // ditch the .wad so everthing looks nice!
strlwr( wadname );
g_wadFiles = g_slist_append( g_wadFiles, wf ); // store the wadfile handle