- Fixed potential crash when using the Mouse Wheel
This commit is contained in:
parent
3969493d90
commit
13264d3251
|
@ -793,6 +793,9 @@ var
|
|||
cursorNeedsUpdate: Boolean;
|
||||
newZ: ShortInt;
|
||||
begin
|
||||
if CurrentTile = nil then
|
||||
Exit;
|
||||
|
||||
//We want single steps ...
|
||||
WheelDelta := WheelDelta div WHEEL_DELTA;
|
||||
|
||||
|
|
Loading…
Reference in New Issue