From 5e95d3ee508a046e31d6adb558edb63d8d0aa550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=B3lik=20Uszasty?= Date: Sat, 10 Oct 2020 11:33:00 +0200 Subject: [PATCH] Sanding works only when direction is set --- McZapkie/Mover.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/McZapkie/Mover.cpp b/McZapkie/Mover.cpp index c0ab9c4b..f0304e39 100644 --- a/McZapkie/Mover.cpp +++ b/McZapkie/Mover.cpp @@ -2714,7 +2714,7 @@ bool TMoverParameters::Sandbox( bool const State, range_t const Notify ) if( SandDose != State ) { if( SandDose == false ) { // switch on - if( Sand > 0 ) { + if(( Sand > 0 ) && ( DirActive != 0 )) { SandDose = true; result = true; }