… | … | ||
---|---|---|---|
185 | maplevel = ob->map->path; | 185 | maplevel = ob->map->path; |
186 | 186 | ||
187 | ob->remove (); | 187 | ob->remove (); |
188 | ob->map = 0; | 188 | ob->map = 0; |
189 | party = 0; | 189 | party = 0; |
190 | enemy = 0; // sometimes keeps an extra refcount on itself | ||
190 | 191 | ||
191 | 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 |
192 | 193 | ||
193 | players.erase (this); | 194 | players.erase (this); |
194 | } | 195 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |