- added 'nospriterename' key to GAMEINFO lump so that PWADs have a means to disable this feature without having to specify a command line switch.
SVN r2623 (trunk)
This commit is contained in:
parent
4e1a514455
commit
387bfc0260
2 changed files with 7 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ struct FWadCollection::LumpRecord
|
|||
};
|
||||
|
||||
// EXTERNAL FUNCTION PROTOTYPES --------------------------------------------
|
||||
extern bool nospriterename;
|
||||
|
||||
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
|
||||
|
||||
|
|
@ -759,7 +760,7 @@ void FWadCollection::RenameSprites ()
|
|||
}
|
||||
}
|
||||
|
||||
renameAll = !!Args->CheckParm ("-oldsprites");
|
||||
renameAll = !!Args->CheckParm ("-oldsprites") || nospriterename;
|
||||
|
||||
for (DWORD i = 0; i < LumpInfo.Size(); i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue