mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1096 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
efcd34c135
commit
b93b724e20
2 changed files with 3 additions and 1 deletions
|
@ -3060,8 +3060,9 @@ void getinput(int snum)
|
||||||
if (horiz < -MAXHORIZ) horiz = -MAXHORIZ;
|
if (horiz < -MAXHORIZ) horiz = -MAXHORIZ;
|
||||||
if (horiz > MAXHORIZ) horiz = MAXHORIZ;
|
if (horiz > MAXHORIZ) horiz = MAXHORIZ;
|
||||||
|
|
||||||
|
loc.extbits = 0;
|
||||||
if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_MOVEFORWARD])
|
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])
|
if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_MOVEBACKWARD])
|
||||||
loc.extbits |= BUTTON(gamefunc_Move_Backward)<<1;
|
loc.extbits |= BUTTON(gamefunc_Move_Backward)<<1;
|
||||||
if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_STRAFELEFT])
|
if (apScriptGameEvent[EVENT_PROCESSINPUT] || apScriptGameEvent[EVENT_STRAFELEFT])
|
||||||
|
|
|
@ -1179,6 +1179,7 @@ static void prelevel(char g)
|
||||||
{
|
{
|
||||||
wall[j].picnum = MIRROR;
|
wall[j].picnum = MIRROR;
|
||||||
wall[j].overpicnum = MIRROR;
|
wall[j].overpicnum = MIRROR;
|
||||||
|
wall[j].pal = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue