mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- fixed: P_GetMapColorForKey did not check for keys that worked as an alias defined through their species.
This commit is contained in:
parent
c3759646e7
commit
2161ad2c4b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ struct OneKey
|
|||
if (owner->IsKindOf(RUNTIME_CLASS(AKey)))
|
||||
{
|
||||
// P_GetMapColorForKey() checks the key directly
|
||||
return owner->IsA(key);
|
||||
return owner->IsA(key) || owner->GetSpecies() == key->TypeName;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue