From 2adf8d524c63c720856c66bbbad6ec889d4b8e8d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 19 Mar 2016 09:36:20 +0100 Subject: [PATCH] - fixed: A_SpawnFizzle used the 'speed' property incorrectly. This is now a fixed point value, even for monsters, so using it as a modulus on a random value cannot possibly work. --- src/g_hexen/a_heresiarch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_hexen/a_heresiarch.cpp b/src/g_hexen/a_heresiarch.cpp index 0cdc7922b..6aee19a71 100644 --- a/src/g_hexen/a_heresiarch.cpp +++ b/src/g_hexen/a_heresiarch.cpp @@ -710,7 +710,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_SpawnFizzle) { PARAM_ACTION_PROLOGUE; fixed_t dist = 5*FRACUNIT; - fixed_t speed = self->Speed; + fixed_t speed = self->Speed >> FRACBITS; angle_t rangle; AActor *mo; int ix;