{"comment":{"url":"https://api.github.com/repos/hwoarangmy/OpenDungeons/comments/11802697","html_url":"https://github.com/hwoarangmy/OpenDungeons/commit/eb284e7547388802f8de416272bfb65ba1b5e53c#commitcomment-11802697","id":11802697,"user":{"login":"hwoarangmy","id":7493706,"avatar_url":"https://avatars.githubusercontent.com/u/7493706?v=3","gravatar_id":"","url":"https://api.github.com/users/hwoarangmy","html_url":"https://github.com/hwoarangmy","followers_url":"https://api.github.com/users/hwoarangmy/followers","following_url":"https://api.github.com/users/hwoarangmy/following{/other_user}","gists_url":"https://api.github.com/users/hwoarangmy/gists{/gist_id}","starred_url":"https://api.github.com/users/hwoarangmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwoarangmy/subscriptions","organizations_url":"https://api.github.com/users/hwoarangmy/orgs","repos_url":"https://api.github.com/users/hwoarangmy/repos","events_url":"https://api.github.com/users/hwoarangmy/events{/privacy}","received_events_url":"https://api.github.com/users/hwoarangmy/received_events","type":"User","site_admin":false},"position":15,"line":90,"path":"source/entities/GameEntity.h","commit_id":"eb284e7547388802f8de416272bfb65ba1b5e53c","created_at":"2015-06-22T20:17:50Z","updated_at":"2015-06-22T20:17:50Z","body":"Actually, I didn't use the owner creature/trap on missile objects for this reason. Because if the trap is removed before the missile hits, we get a segfault ^^\r\nThat's why I used to save entity type/name when really needed (which is not very optimal)\r\nUsing a listener will make sure we are warned if the listened entity is removed."}}