mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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)))
|
if (owner->IsKindOf(RUNTIME_CLASS(AKey)))
|
||||||
{
|
{
|
||||||
// P_GetMapColorForKey() checks the key directly
|
// P_GetMapColorForKey() checks the key directly
|
||||||
return owner->IsA(key);
|
return owner->IsA(key) || owner->GetSpecies() == key->TypeName;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue