mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
AGS: Silence redundant mouse warning
Mouse movement control is not supported, but the warning should only be displayed when requesting the functionality
This commit is contained in:
parent
604f0e8bb9
commit
9fa5bb64fb
@ -156,7 +156,8 @@ void Mouse::UpdateGraphicArea() {
|
||||
|
||||
void Mouse::SetMovementControl(bool flag) {
|
||||
ControlEnabled = false;
|
||||
warning("movement control not supported, mouse control can't be enabled");
|
||||
if (flag)
|
||||
warning("movement control not supported, mouse control can't be enabled");
|
||||
ags_clear_mouse_movement();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user