From 01f7a979ae292d79135613b57b49355a1ae202c3 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 20 Jan 2014 12:59:36 -0700 Subject: [PATCH] vfswad: lowercase the wad name at load time, because queries from map/parse.cpp come in as lowercase --- plugins/vfswad/vfs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/vfswad/vfs.cpp b/plugins/vfswad/vfs.cpp index 94f42d40..e9a17be3 100644 --- a/plugins/vfswad/vfs.cpp +++ b/plugins/vfswad/vfs.cpp @@ -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