… | |
… | |
171 | } |
171 | } |
172 | for (x = 0; x < m->width; x++) |
172 | for (x = 0; x < m->width; x++) |
173 | for (y = 0; y < m->height; y++) |
173 | for (y = 0; y < m->height; y++) |
174 | for (tmp = GET_MAP_OB (m, x, y); tmp != NULL; tmp = tmp->above) |
174 | for (tmp = GET_MAP_OB (m, x, y); tmp != NULL; tmp = tmp->above) |
175 | if (tmp->above && (tmp->type == TRIGGER_BUTTON || tmp->type == TRIGGER_PEDESTAL)) |
175 | if (tmp->above && (tmp->type == TRIGGER_BUTTON || tmp->type == TRIGGER_PEDESTAL)) |
176 | check_trigger (tmp, tmp->above); |
176 | check_trigger (tmp, tmp->above, tmp->above); |
177 | } |
177 | } |
178 | |
178 | |
179 | /** |
179 | /** |
180 | * Those are dummy functions defined to resolve all symboles. |
180 | * Those are dummy functions defined to resolve all symboles. |
181 | * Added as part of glue cleaning. |
181 | * Added as part of glue cleaning. |