From 1670cfab05f68343f8ec8e21f879d507aa55c815 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sat, 19 Jun 2021 13:52:07 -0700 Subject: [PATCH] also "and" -> "&&" --- plugins/dig-now.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dig-now.cpp b/plugins/dig-now.cpp index b634ef2e4..424ffd91c 100644 --- a/plugins/dig-now.cpp +++ b/plugins/dig-now.cpp @@ -728,7 +728,7 @@ static void post_process_dug_tiles(color_ostream &out, if (to.bits.item) { for (auto item : world->items.other.IN_PLAY) { - if (item->pos == pos and item->flags.bits.on_ground) + if (item->pos == pos && item->flags.bits.on_ground) item->moveToGround( resting_pos.x, resting_pos.y, resting_pos.z); }