mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +00:00
minor code cleanup in MoveEvent::compile
This commit is contained in:
parent
191bfb6141
commit
6f5613ebd9
@ -2485,9 +2485,7 @@ class MoveEvent: public Event {
|
|||||||
|
|
||||||
if (cost == 0) {
|
if (cost == 0) {
|
||||||
target = src->source;
|
target = src->source;
|
||||||
}
|
|
||||||
|
|
||||||
if (target == src->source) {
|
|
||||||
addBuddy(src, dst);
|
addBuddy(src, dst);
|
||||||
|
|
||||||
if (DebugMoves) {
|
if (DebugMoves) {
|
||||||
|
Loading…
Reference in New Issue
Block a user