- Added A_Mushroom compatibility option for Dehacked.

- Added Gez's submission for interhubamount DECORATE property.


SVN r1747 (trunk)
This commit is contained in:
Christoph Oelckers 2009-08-02 15:54:34 +00:00
commit 356e4a0fcc
13 changed files with 30 additions and 10 deletions

View file

@ -149,7 +149,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Mushroom)
target->x = self->x + (i << FRACBITS); // Aim in many directions from source
target->y = self->y + (j << FRACBITS);
target->z = self->z + (P_AproxDistance(i,j) << (FRACBITS+2)); // Aim up fairly high
if (flags == 0 && self->state->Misc1 == 0)
if (flags == 0 && (self->state->Misc1 == 0 || !(i_compatflags & COMPATF_MUSHROOM)))
{
mo = P_SpawnMissile (self, target, spawntype); // Launch fireball
}