struct HL_astar_hex *h;
if (!s) return 0;
- for(h = s->closed; h; h = h->next) {
+ for (h = s->closed; h; h = h->next) {
if (h->hex == hex) return h;
}
return NULL;
struct HL_astar_hex *h;
if (!s) return 0;
- for(h = s->open; h; h = h->next) {
+ for (h = s->open; h; h = h->next) {
if (h->hex == hex) return h;
}
return NULL;