Proper fix for mouse wheel inversion.

This commit is contained in:
OBattler
2023-08-26 22:47:32 +02:00
parent 188c819210
commit e0c1e4b3a3
2 changed files with 1 additions and 2 deletions

View File

@@ -471,7 +471,7 @@ mouse_subtract_z(int *delta_z, int min, int max, int invert)
*delta_z = min;
real_z += ABS(min);
} else {
*delta_z = mouse_z;
*delta_z = real_z;
real_z = 0;
}