change mouse_force_pos call to mouse_set_pos call in forceMousePosition lua function

This commit is contained in:
Wanderer committed 2009-06-10 07:54:52 +00:00
1 parent 15fe7f2ffe
commit 16db9601ac
1 file changed
+1 -1
+1 -1
View File
@@ -7655,7 +7655,7 @@ ADE_FUNC(forceMousePosition, l_Mouse, "number, number (coordinates)", "function
if (!((y >= 0) && (y <= gr_screen.max_h)))
return ADE_RETURN_FALSE;
mouse_force_pos(x, y);
mouse_set_pos(x, y);
return ADE_RETURN_TRUE;
}