- Removed AT_GAME_SET(PowerInvulnerable) due to the problems it caused. The two
occurences in the code that depended on it were changed accordingly. Invulnerability colormaps are now being set by the items exclusively. - Changed many checks for the friendly Minotaur to a new flag MF5_SUMMONEDMONSTER so that it can hopefully be generalized to be usable elsewhere later. - Added Gez's submission for converting the Minotaur to DECORATE. SVN r1120 (trunk)
This commit is contained in:
parent
d7d07aad16
commit
bf281a4372
14 changed files with 18821 additions and 18824 deletions
|
|
@ -345,25 +345,6 @@ IMPLEMENT_STATELESS_ACTOR (APowerInvulnerable, Any, -1, 0)
|
|||
PROP_Inventory_Icon ("SPSHLD0")
|
||||
END_DEFAULTS
|
||||
|
||||
// Need to set the default for each game here
|
||||
AT_GAME_SET(PowerInvulnerable)
|
||||
{
|
||||
APowerInvulnerable * invul = GetDefault<APowerInvulnerable>();
|
||||
switch (gameinfo.gametype)
|
||||
{
|
||||
case GAME_Doom:
|
||||
case GAME_Strife:
|
||||
invul->BlendColor = INVERSECOLOR;
|
||||
break;
|
||||
|
||||
case GAME_Heretic:
|
||||
invul->BlendColor = GOLDCOLOR;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
//===========================================================================
|
||||
//
|
||||
// APowerInvulnerable :: InitEffect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue