Minor update of overmap.cpp

double/int mismatch fixes + simplification of bool functions