Change Adjacent() to get_dist()

This commit is contained in:
Arokha Sieyes
2016-11-11 00:35:27 -05:00
parent 91b61945cc
commit 5c45086406
+1 -1
View File
@@ -176,7 +176,7 @@
break
//Failed: The locations aren't right
if((o_patient_loc != patient.loc) || !Adjacent(paddles))
if((o_patient_loc != patient.loc) || !(get_dist(src,paddles) <= 1))
. = 0
break