- fixed: P_GetMapColorForKey did not check for keys that worked as an alias defined through their species.

This commit is contained in:
Christoph Oelckers 2016-04-30 12:48:51 +02:00
parent c3759646e7
commit 2161ad2c4b
1 changed files with 1 additions and 1 deletions

View File

@ -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
{