mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- fixed: Poison clouds spawned by the PoisonShroom should not be pushable by the Disc of Repulsion.
SVN r2350 (trunk)
This commit is contained in:
parent
14b71ede11
commit
eadc539bc6
4 changed files with 5 additions and 2 deletions
|
@ -319,6 +319,7 @@ enum
|
|||
MF6_NOTRIGGER = 0x00010000, // actor cannot trigger any line actions
|
||||
MF6_SHATTERING = 0x00020000, // marks an ice corpse for forced shattering
|
||||
MF6_KILLED = 0x00040000, // Something that was killed (but not necessarily a corpse)
|
||||
MF6_BLOCKEDBYSOLIDACTORS = 0x00080000, // Blocked by solid actors, even if not solid itself
|
||||
|
||||
// --- mobj.renderflags ---
|
||||
|
||||
|
|
|
@ -1149,7 +1149,8 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
|
|||
}
|
||||
solid = (thing->flags & MF_SOLID) &&
|
||||
!(thing->flags & MF_NOCLIP) &&
|
||||
(tm.thing->flags & MF_SOLID);
|
||||
((tm.thing->flags & MF_SOLID) || (tm.thing->flags6 & MF6_BLOCKEDBYSOLIDACTORS));
|
||||
|
||||
// Check for special pickup
|
||||
if ((thing->flags & MF_SPECIAL) && (tm.thing->flags & MF_PICKUP)
|
||||
// [RH] The next condition is to compensate for the extra height
|
||||
|
|
|
@ -224,6 +224,7 @@ static FFlagDef ActorFlags[]=
|
|||
DEFINE_FLAG(MF6, JUMPDOWN, AActor, flags6),
|
||||
DEFINE_FLAG(MF6, VULNERABLE, AActor, flags6),
|
||||
DEFINE_FLAG(MF6, NOTRIGGER, AActor, flags6),
|
||||
DEFINE_FLAG(MF6, BLOCKEDBYSOLIDACTORS, AActor, flags6),
|
||||
|
||||
// Effect flags
|
||||
DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects),
|
||||
|
|
|
@ -142,7 +142,7 @@ ACTOR PoisonCloud native
|
|||
Mass 0x7fffffff
|
||||
+NOBLOCKMAP +NOGRAVITY +DROPOFF
|
||||
+NODAMAGETHRUST
|
||||
+DONTSPLASH +FOILINVUL +CANBLAST +BLOODLESSIMPACT
|
||||
+DONTSPLASH +FOILINVUL +CANBLAST +BLOODLESSIMPACT +BLOCKEDBYSOLIDACTORS
|
||||
RenderStyle Translucent
|
||||
Alpha 0.6
|
||||
DeathSound "PoisonShroomDeath"
|
||||
|
|
Loading…
Reference in a new issue