🐛 fix mouse y position.

main
bog 2023-10-29 23:55:22 +01:00
parent aacc650741
commit 49aa9be3dd
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ namespace d2
int Game::mouse_y() const
{
int y;
SDL_GetMouseState(&y, nullptr);
SDL_GetMouseState(nullptr, &y);
return y;
}