Revert "Move CONTROL_ProcessBinds() to CONTROL_GetInput()." [r3981]

That change confounded character-based input with e.g. HUD control
under certain circumstances, see
http://forums.duke4.net/topic/6845-eduke32-savegame-annoyances/

Also, BUILD_LUNATIC ... just for the hit.sect -> hit.sector change.

git-svn-id: https://svn.eduke32.com/eduke32@4093 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-10-11 13:43:39 +00:00
parent f9d597f237
commit 1181121729
2 changed files with 2 additions and 2 deletions

View file

@ -11835,7 +11835,7 @@ MAIN_LOOP_RESTART:
{ {
if (g_networkMode != NET_DEDICATED_SERVER) if (g_networkMode != NET_DEDICATED_SERVER)
{ {
// CONTROL_ProcessBinds(); CONTROL_ProcessBinds();
P_GetInput(myconnectindex); P_GetInput(myconnectindex);
} }

View file

@ -789,8 +789,8 @@ static void CONTROL_GetFunctionInput(void)
void CONTROL_GetInput(ControlInfo *info) void CONTROL_GetInput(ControlInfo *info)
{ {
CONTROL_PollDevices(info); CONTROL_PollDevices(info);
CONTROL_GetFunctionInput(); CONTROL_GetFunctionInput();
CONTROL_ProcessBinds();
} }
int32_t CONTROL_Startup(controltype which, int32_t(*TimeFunction)(void), int32_t ticspersecond) int32_t CONTROL_Startup(controltype which, int32_t(*TimeFunction)(void), int32_t ticspersecond)