… | … | ||
---|---|---|---|
138 | tmp = tmp->above; | 138 | tmp = tmp->above; |
139 | 139 | ||
140 | if (!tmp) | 140 | if (!tmp) |
141 | { | 141 | { |
142 | LOG (llevDebug, "find_nearest_living_creature: map %s (%d,%d) has is_alive set but did not find a monster?\n", | 142 | LOG (llevDebug, "find_nearest_living_creature: map %s (%d,%d) has is_alive set but did not find a monster?\n", |
143 | m->path, nx, ny); | 143 | &m->path, nx, ny); |
144 | } | 144 | } |
145 | else | 145 | else |
146 | { | 146 | { |
147 | if (can_see_monsterP (m, nx, ny, i)) | 147 | if (can_see_monsterP (m, nx, ny, i)) |
148 | return tmp; | 148 | return tmp; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |