mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: mod_bmodel: fix wadlist, wad file names don't have an extension there
This commit is contained in:
@@ -1929,6 +1929,7 @@ static int Mod_LoadEntities_splitstr_handler( char *prev, char *next, void *user
|
||||
{
|
||||
int num = wadlist->count++;
|
||||
Q_strncpy( wadlist->wadnames[num], wad, sizeof( wadlist->wadnames[0] ));
|
||||
COM_StripExtension( wadlist->wadnames[num] );
|
||||
wadlist->wadusage[num] = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user