diff --git a/Client/UActions.pas b/Client/UActions.pas index 3020828..7af4a33 100644 --- a/Client/UActions.pas +++ b/Client/UActions.pas @@ -357,6 +357,7 @@ begin worldItem.Z := FForceZValue; if FRandomZ then worldItem.Z := worldItem.Z + Random(FRandomZValue); + worldItem.Z := EnsureRange(worldItem.Z, -128, 127); end; end;