… | … | ||
---|---|---|---|
183 | 183 | ||
184 | if (ob->map) | 184 | if (ob->map) |
185 | maplevel = ob->map->path; | 185 | maplevel = ob->map->path; |
186 | 186 | ||
187 | ob->remove (); | 187 | ob->remove (); |
188 | ob->enemy = 0; // sometimes keeps an extra refcount on itself | ||
188 | ob->map = 0; | 189 | ob->map = 0; |
189 | party = 0; | 190 | party = 0; |
190 | enemy = 0; // sometimes keeps an extra refcount on itself | ||
191 | 191 | ||
192 | combat_ob = ranged_ob = 0; //TODO, should be special marker, non-refcounted, not this | 192 | combat_ob = ranged_ob = 0; //TODO, should be special marker, non-refcounted, not this |
193 | 193 | ||
194 | players.erase (this); | 194 | players.erase (this); |
195 | } | 195 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |