From 66f353fbf5e5a4a534fa62cb0a0603a40acbd2dd Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 26 Dec 2016 06:03:00 +0000 Subject: [PATCH] Extend SE 26 to use the value provided by a GPSPEED, if any. git-svn-id: https://svn.eduke32.com/eduke32@5974 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/actors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/actors.c b/polymer/eduke32/source/actors.c index cee3b4ed0..b60c5760d 100644 --- a/polymer/eduke32/source/actors.c +++ b/polymer/eduke32/source/actors.c @@ -7352,7 +7352,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3 { int32_t p, nextj; - pSprite->xvel = 32; + pSprite->xvel = pSector->extra != 0 ? pSector->extra : 32; l = (pSprite->xvel*sintable[(pSprite->ang+512)&2047])>>14; x = (pSprite->xvel*sintable[pSprite->ang&2047])>>14;