- Fixed: Skin definitions were never freed.
- Fixed: Names in terrain definitions were never freed. Replacing them with FNames would have been a good idea anyway. - Fixed: The lock definitions were never freed. - Fixed: FDoorAnimation was missing a destructor. - Fixed: animation and switch definitions were never freed. - Replaced all other places where FindType was used with FNames with IFindType. SVN r90 (trunk)
This commit is contained in:
parent
ace3ed1188
commit
763efb3682
11 changed files with 108 additions and 32 deletions
|
|
@ -85,6 +85,15 @@ static bool keysdone=false; // have the locks been initialized?
|
|||
static int currentnumber; // number to be assigned to next key
|
||||
static bool ignorekey; // set to true when the current lock is not being used
|
||||
|
||||
static void ClearLocks();
|
||||
|
||||
static struct LockDeleter
|
||||
{
|
||||
~LockDeleter()
|
||||
{
|
||||
ClearLocks();
|
||||
}
|
||||
} DeleteTheLocks;
|
||||
|
||||
static const char * keywords_lock[]={
|
||||
"ANY",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue