From 12a819cf7ca317c13a6902fe35c49267ab55474c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 7 Feb 2010 08:22:23 +0000 Subject: [PATCH] - fixed GCC compile error in A_Mushroom. SVN r2152 (trunk) --- src/g_doom/a_fatso.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_doom/a_fatso.cpp b/src/g_doom/a_fatso.cpp index 73ae4e2b5..2a824a072 100644 --- a/src/g_doom/a_fatso.cpp +++ b/src/g_doom/a_fatso.cpp @@ -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) {