From 6f5613ebd9d416d5695c3fc4f2dd61ae9fc1c4c6 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 11 Nov 2008 17:48:21 -0700 Subject: [PATCH] minor code cleanup in MoveEvent::compile --- src/compiler.cpp | 2 -- 1 file changed, 2 deletions(-) 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) {