mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-20 00:11:32 +00:00
Fixe einen schweren Bug, bei dem andere Maustasten nicht ausgelesen
wurden, wenn Maus 1 gedrückt war
This commit is contained in:
parent
435ae096e4
commit
46e378c6d4
1 changed files with 8 additions and 4 deletions
|
@ -302,19 +302,23 @@ void IN_Update(void)
|
|||
{
|
||||
mouse_buttonstate |= (1 << 0);
|
||||
}
|
||||
else if (SDL_BUTTON(3) & bstate)
|
||||
|
||||
if (SDL_BUTTON(3) & bstate)
|
||||
{
|
||||
mouse_buttonstate |= (1 << 1);
|
||||
}
|
||||
else if (SDL_BUTTON(2) & bstate)
|
||||
|
||||
if (SDL_BUTTON(2) & bstate)
|
||||
{
|
||||
mouse_buttonstate |= (1 << 2);
|
||||
}
|
||||
else if (SDL_BUTTON(6) & bstate)
|
||||
|
||||
if (SDL_BUTTON(6) & bstate)
|
||||
{
|
||||
mouse_buttonstate |= (1 << 3);
|
||||
}
|
||||
else if (SDL_BUTTON(7) & bstate)
|
||||
|
||||
if (SDL_BUTTON(7) & bstate)
|
||||
{
|
||||
mouse_buttonstate |= (1 << 4);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue