mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-29 06:56:23 +01:00
Change Adjacent() to get_dist()
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user