Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The existing `i.pos` in this loop has no z-level, so the check for whether `tripoint_above` was an anthill was looking at z+1, and there are no anthills in the sky, therefore all underground ants were spawning as acid ants. This commit uses the correct z-level, allowing normal ants to spawn in normal anthills. This commit also stores the calculated tripoint with correct z-level in a variable `p_loc`, then re-uses that in the three places that need it.
- Loading branch information