- missed a return.

This commit is contained in:
Christoph Oelckers 2014-12-08 12:01:20 +01:00
parent 95bed868d3
commit b2452b806e

View file

@ -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);