- Fixed a few Strife ammo amount values.
- Fixed the ClearLocks function so it doesn't crash when called before the ActorInfos have been created. SVN r96 (trunk)
This commit is contained in:
parent
de54d7a667
commit
632e03fa7e
3 changed files with 9 additions and 5 deletions
|
|
@ -322,7 +322,8 @@ static void ClearLocks()
|
|||
{
|
||||
if (TypeInfo::m_Types[i]->IsDescendantOf(RUNTIME_CLASS(AKey)))
|
||||
{
|
||||
static_cast<AKey*>(GetDefaultByType(TypeInfo::m_Types[i]))->KeyNumber=0;
|
||||
if (TypeInfo::m_Types[i]->ActorInfo != NULL)
|
||||
static_cast<AKey*>(GetDefaultByType(TypeInfo::m_Types[i]))->KeyNumber=0;
|
||||
}
|
||||
}
|
||||
for(i=0;i<256;i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue