… | |
… | |
194 | return; |
194 | return; |
195 | |
195 | |
196 | terminate_all_pets (ob); |
196 | terminate_all_pets (ob); |
197 | remove_friendly_object (ob); |
197 | remove_friendly_object (ob); |
198 | ob->deactivate_recursive (); |
198 | ob->deactivate_recursive (); |
|
|
199 | |
|
|
200 | if (ob->map) |
199 | maplevel = ob->map->path; |
201 | maplevel = ob->map->path; |
|
|
202 | |
200 | ob->remove (); |
203 | ob->remove (); |
201 | ob->map = 0; |
204 | ob->map = 0; |
202 | party = 0; |
205 | party = 0; |
203 | |
206 | |
204 | // for weird reasons, this is often "ob", keeping a circular reference |
207 | // for weird reasons, this is often "ob", keeping a circular reference |