mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 23:21:41 +00:00
- missed a return.
This commit is contained in:
parent
95bed868d3
commit
b2452b806e
1 changed files with 1 additions and 0 deletions
|
@ -2053,6 +2053,7 @@ DEFINE_CLASS_PROPERTY_PREFIX(powerup, color, C_f, Inventory)
|
||||||
else if (!stricmp(name, "none") && info->Class->IsDescendantOf(RUNTIME_CLASS(APowerupGiver)))
|
else if (!stricmp(name, "none") && info->Class->IsDescendantOf(RUNTIME_CLASS(APowerupGiver)))
|
||||||
{
|
{
|
||||||
*pBlendColor = MakeSpecialColormap(65535);
|
*pBlendColor = MakeSpecialColormap(65535);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
color = V_GetColor(NULL, name);
|
color = V_GetColor(NULL, name);
|
||||||
|
|
Loading…
Reference in a new issue