- fixed GCC compile error in A_Mushroom.

SVN r2152 (trunk)
This commit is contained in:
Christoph Oelckers 2010-02-07 08:22:23 +00:00
parent 4310b239f4
commit 12a819cf7c

View file

@ -146,7 +146,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Mushroom)
// Now launch mushroom cloud
AActor *target = Spawn("Mapspot", 0, 0, 0, NO_REPLACE); // We need something to aim at.
AActor *master = (flags & MSF_DontHurt) ? self->target : self;
AActor *master = (flags & MSF_DontHurt) ? (AActor*)(self->target) : self;
target->height = self->height;
for (i = -n; i <= n; i += 8)
{