fixed checking file extension for BD engine
authorHolger Schemel <info@artsoft.org>
Wed, 28 Feb 2024 09:40:47 +0000 (10:40 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 28 Feb 2024 09:40:47 +0000 (10:40 +0100)
src/game_bd/bd_caveset.c

index cce3692d34bd28d49fc70938d71ccdf01806ec89..df3abaf6c03a0e42830dad33ce7dcf214f61d4d8 100644 (file)
@@ -555,7 +555,7 @@ boolean gd_caveset_load_from_file(char *filename)
   }
 
   if (strSuffix(filename, ".brc") ||
-      strSuffix(filename, "*.BRC"))
+      strSuffix(filename, ".BRC"))
   {
     brc_import((byte *) buf);
     gd_caveset_edited = FALSE;    /* newly loaded cave is not edited */