From d87665bfe0961f05414bc19da3ffeb1207f0e0e9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 4 Jul 2016 00:39:35 +0200 Subject: [PATCH] - fixed: A_CheckTerrain must add to the actor's current velocity, not set it. --- src/g_strife/a_strifestuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_strife/a_strifestuff.cpp b/src/g_strife/a_strifestuff.cpp index 8b5788d44..4e49121fa 100644 --- a/src/g_strife/a_strifestuff.cpp +++ b/src/g_strife/a_strifestuff.cpp @@ -317,7 +317,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CheckTerrain) int anglespeed = tagManager.GetFirstSectorTag(sec) - 100; double speed = (anglespeed % 10) / 16.; DAngle an = (anglespeed / 10) * (360 / 8.); - self->VelFromAngle(an, speed); + self->Thrust(an, speed); } } return 0;