diff --git a/src/compiler.cpp b/src/compiler.cpp index 712d1be7d9..92b68c8ee1 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -2485,9 +2485,7 @@ class MoveEvent: public Event { if (cost == 0) { target = src->source; - } - if (target == src->source) { addBuddy(src, dst); if (DebugMoves) {