🐛 fix mouse y position.
parent
aacc650741
commit
49aa9be3dd
|
@ -176,7 +176,7 @@ namespace d2
|
|||
int Game::mouse_y() const
|
||||
{
|
||||
int y;
|
||||
SDL_GetMouseState(&y, nullptr);
|
||||
SDL_GetMouseState(nullptr, &y);
|
||||
return y;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue