- fixed: Poison clouds spawned by the PoisonShroom should not be pushable by the Disc of Repulsion.

SVN r2350 (trunk)
This commit is contained in:
Christoph Oelckers 2010-05-30 20:12:32 +00:00
parent 14b71ede11
commit eadc539bc6
4 changed files with 5 additions and 2 deletions

View file

@ -319,6 +319,7 @@ enum
MF6_NOTRIGGER = 0x00010000, // actor cannot trigger any line actions MF6_NOTRIGGER = 0x00010000, // actor cannot trigger any line actions
MF6_SHATTERING = 0x00020000, // marks an ice corpse for forced shattering MF6_SHATTERING = 0x00020000, // marks an ice corpse for forced shattering
MF6_KILLED = 0x00040000, // Something that was killed (but not necessarily a corpse) 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 --- // --- mobj.renderflags ---

View file

@ -1149,7 +1149,8 @@ bool PIT_CheckThing (AActor *thing, FCheckPosition &tm)
} }
solid = (thing->flags & MF_SOLID) && solid = (thing->flags & MF_SOLID) &&
!(thing->flags & MF_NOCLIP) && !(thing->flags & MF_NOCLIP) &&
(tm.thing->flags & MF_SOLID); ((tm.thing->flags & MF_SOLID) || (tm.thing->flags6 & MF6_BLOCKEDBYSOLIDACTORS));
// Check for special pickup // Check for special pickup
if ((thing->flags & MF_SPECIAL) && (tm.thing->flags & MF_PICKUP) if ((thing->flags & MF_SPECIAL) && (tm.thing->flags & MF_PICKUP)
// [RH] The next condition is to compensate for the extra height // [RH] The next condition is to compensate for the extra height

View file

@ -224,6 +224,7 @@ static FFlagDef ActorFlags[]=
DEFINE_FLAG(MF6, JUMPDOWN, AActor, flags6), DEFINE_FLAG(MF6, JUMPDOWN, AActor, flags6),
DEFINE_FLAG(MF6, VULNERABLE, AActor, flags6), DEFINE_FLAG(MF6, VULNERABLE, AActor, flags6),
DEFINE_FLAG(MF6, NOTRIGGER, AActor, flags6), DEFINE_FLAG(MF6, NOTRIGGER, AActor, flags6),
DEFINE_FLAG(MF6, BLOCKEDBYSOLIDACTORS, AActor, flags6),
// Effect flags // Effect flags
DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects), DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects),

View file

@ -142,7 +142,7 @@ ACTOR PoisonCloud native
Mass 0x7fffffff Mass 0x7fffffff
+NOBLOCKMAP +NOGRAVITY +DROPOFF +NOBLOCKMAP +NOGRAVITY +DROPOFF
+NODAMAGETHRUST +NODAMAGETHRUST
+DONTSPLASH +FOILINVUL +CANBLAST +BLOODLESSIMPACT +DONTSPLASH +FOILINVUL +CANBLAST +BLOODLESSIMPACT +BLOCKEDBYSOLIDACTORS
RenderStyle Translucent RenderStyle Translucent
Alpha 0.6 Alpha 0.6
DeathSound "PoisonShroomDeath" DeathSound "PoisonShroomDeath"