- made AActor::alpha a floating point value
- replaced some uses of FRACUNIT with OPAQUE when it was about translucency. - simplified some overly complicated translucency multiplications in the SBARINFO code.
This commit is contained in:
parent
b29058c1ab
commit
4e60ea0252
50 changed files with 235 additions and 216 deletions
|
|
@ -1024,7 +1024,7 @@ int P_DamageMobj (AActor *target, AActor *inflictor, AActor *source, int damage,
|
|||
// [RH] Andy Baker's Stealth monsters
|
||||
if (target->flags & MF_STEALTH)
|
||||
{
|
||||
target->alpha = OPAQUE;
|
||||
target->Alpha = 1.;
|
||||
target->visdir = -1;
|
||||
}
|
||||
if (target->flags & MF_SKULLFLY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue