{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/961","repository_url":"https://api.github.com/repos/OpenMW/openmw","labels_url":"https://api.github.com/repos/OpenMW/openmw/issues/961/labels{/name}","comments_url":"https://api.github.com/repos/OpenMW/openmw/issues/961/comments","events_url":"https://api.github.com/repos/OpenMW/openmw/issues/961/events","html_url":"https://github.com/OpenMW/openmw/pull/961","id":159764029,"number":961,"title":"Accurately pick the cell ref.","user":{"login":"Aesylwinn","id":4952410,"avatar_url":"https://avatars.githubusercontent.com/u/4952410?v=3","gravatar_id":"","url":"https://api.github.com/users/Aesylwinn","html_url":"https://github.com/Aesylwinn","followers_url":"https://api.github.com/users/Aesylwinn/followers","following_url":"https://api.github.com/users/Aesylwinn/following{/other_user}","gists_url":"https://api.github.com/users/Aesylwinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Aesylwinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aesylwinn/subscriptions","organizations_url":"https://api.github.com/users/Aesylwinn/orgs","repos_url":"https://api.github.com/users/Aesylwinn/repos","events_url":"https://api.github.com/users/Aesylwinn/events{/privacy}","received_events_url":"https://api.github.com/users/Aesylwinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-11T09:01:09Z","updated_at":"2016-06-11T19:37:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenMW/openmw/pulls/961","html_url":"https://github.com/OpenMW/openmw/pull/961","diff_url":"https://github.com/OpenMW/openmw/pull/961.diff","patch_url":"https://github.com/OpenMW/openmw/pull/961.patch"},"body":"This fixes [bug#3427](https://bugs.openmw.org/issues/3427), though I'm not 100% sure if this is the right fix. I think that [RefNum.mContentFile](https://github.com/OpenMW/openmw/blob/master/components/esm/cellref.hpp#L17) refers to the content file it was loaded from, and not the content file it overrides. Anyone know off the top of their head?"},"comment":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/comments/225389511","html_url":"https://github.com/OpenMW/openmw/pull/961#issuecomment-225389511","issue_url":"https://api.github.com/repos/OpenMW/openmw/issues/961","id":225389511,"user":{"login":"Aesylwinn","id":4952410,"avatar_url":"https://avatars.githubusercontent.com/u/4952410?v=3","gravatar_id":"","url":"https://api.github.com/users/Aesylwinn","html_url":"https://github.com/Aesylwinn","followers_url":"https://api.github.com/users/Aesylwinn/followers","following_url":"https://api.github.com/users/Aesylwinn/following{/other_user}","gists_url":"https://api.github.com/users/Aesylwinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Aesylwinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aesylwinn/subscriptions","organizations_url":"https://api.github.com/users/Aesylwinn/orgs","repos_url":"https://api.github.com/users/Aesylwinn/repos","events_url":"https://api.github.com/users/Aesylwinn/events{/privacy}","received_events_url":"https://api.github.com/users/Aesylwinn/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T19:37:54Z","updated_at":"2016-06-11T19:37:54Z","body":"I was looking at the game code mainly so I could figure out what was going wrong/how it was supposed to work. The save code itself is fine. Using bless and gdb, I was able to determine that the problem is that mContentFile is inaccurate when it is being saved."}}
{"actor":{"display_login":"Aesylwinn"}}