From b93b724e205fcc7594291b053e6c7b4fc877ff28 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 11 Oct 2008 09:48:09 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@1096 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 3 ++- polymer/eduke32/source/premap.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index afe3881d3..ff6b1eb55 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -3060,8 +3060,9 @@ void getinput(int snum) if (horiz < -MAXHORIZ) horiz = -MAXHORIZ; if (horiz > MAXHORIZ) horiz = MAXHORIZ; + loc.extbits = 0; if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_MOVEFORWARD]) - loc.extbits = BUTTON(gamefunc_Move_Forward); + loc.extbits |= BUTTON(gamefunc_Move_Forward); if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_MOVEBACKWARD]) loc.extbits |= BUTTON(gamefunc_Move_Backward)<<1; if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_STRAFELEFT]) diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 467a25485..51faa914d 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1179,6 +1179,7 @@ static void prelevel(char g) { wall[j].picnum = MIRROR; wall[j].overpicnum = MIRROR; + wall[j].pal = 4; } } }