diff --git a/bin_win32/ac_client.exe b/bin_win32/ac_client.exe deleted file mode 100644 index 1d363238..00000000 Binary files a/bin_win32/ac_client.exe and /dev/null differ diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 706216fc..016ba583 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -475,12 +475,11 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime) if(editfly) // just apply velocity { pl->o.add(d); - Uint8 const* state = SDL_GetKeyboardState(0); - if(pl->jumpnext) + if(pl->jumpnext && !pl->trycrouch) { pl->vel.z = 0.5f; // fly directly upwards while holding jump keybinds } - else if (state[SDL_SCANCODE_LSHIFT] != 0 || state[SDL_SCANCODE_RSHIFT] != 0) + else if (pl->trycrouch && !pl->jumpnext) { pl->vel.z = -0.5f; // fly directly down while holding crouch keybinds }