- Redid ClearLcoks() fix that I accidentally removed.
SVN r102 (trunk)
This commit is contained in:
parent
c70ba60fd6
commit
032526340a
3 changed files with 7 additions and 2 deletions
|
|
@ -322,7 +322,11 @@ static void ClearLocks()
|
|||
{
|
||||
if (PClass::m_Types[i]->IsDescendantOf(RUNTIME_CLASS(AKey)))
|
||||
{
|
||||
static_cast<AKey*>(GetDefaultByType(PClass::m_Types[i]))->KeyNumber=0;
|
||||
AKey *key = static_cast<AKey*>(GetDefaultByType(PClass::m_Types[i]));
|
||||
if (key != NULL)
|
||||
{
|
||||
key->KeyNumber = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
for(i=0;i<256;i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue