{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/1151","repository_url":"https://api.github.com/repos/OpenMW/openmw","labels_url":"https://api.github.com/repos/OpenMW/openmw/issues/1151/labels{/name}","comments_url":"https://api.github.com/repos/OpenMW/openmw/issues/1151/comments","events_url":"https://api.github.com/repos/OpenMW/openmw/issues/1151/events","html_url":"https://github.com/OpenMW/openmw/pull/1151","id":194734384,"number":1151,"title":"Update to implementation of projectile lights","user":{"login":"Aussiemon","id":13663574,"avatar_url":"https://avatars.githubusercontent.com/u/13663574?v=3","gravatar_id":"","url":"https://api.github.com/users/Aussiemon","html_url":"https://github.com/Aussiemon","followers_url":"https://api.github.com/users/Aussiemon/followers","following_url":"https://api.github.com/users/Aussiemon/following{/other_user}","gists_url":"https://api.github.com/users/Aussiemon/gists{/gist_id}","starred_url":"https://api.github.com/users/Aussiemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aussiemon/subscriptions","organizations_url":"https://api.github.com/users/Aussiemon/orgs","repos_url":"https://api.github.com/users/Aussiemon/repos","events_url":"https://api.github.com/users/Aussiemon/events{/privacy}","received_events_url":"https://api.github.com/users/Aussiemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-10T01:22:20Z","updated_at":"2016-12-10T08:39:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenMW/openmw/pulls/1151","html_url":"https://github.com/OpenMW/openmw/pull/1151","diff_url":"https://github.com/OpenMW/openmw/pull/1151.diff","patch_url":"https://github.com/OpenMW/openmw/pull/1151.patch"},"body":"As mentioned [here](https://github.com/OpenMW/openmw/pull/1144), the previous pull request had potentially-unsafe casts that needed to be resolved.\r\n\r\nA projectile's light diffuse color is now calculated beforehand and passed to the createModel method. C-style casts were removed, also."},"comment":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/comments/266190240","html_url":"https://github.com/OpenMW/openmw/pull/1151#issuecomment-266190240","issue_url":"https://api.github.com/repos/OpenMW/openmw/issues/1151","id":266190240,"user":{"login":"scrawl","id":720642,"avatar_url":"https://avatars.githubusercontent.com/u/720642?v=3","gravatar_id":"","url":"https://api.github.com/users/scrawl","html_url":"https://github.com/scrawl","followers_url":"https://api.github.com/users/scrawl/followers","following_url":"https://api.github.com/users/scrawl/following{/other_user}","gists_url":"https://api.github.com/users/scrawl/gists{/gist_id}","starred_url":"https://api.github.com/users/scrawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrawl/subscriptions","organizations_url":"https://api.github.com/users/scrawl/orgs","repos_url":"https://api.github.com/users/scrawl/repos","events_url":"https://api.github.com/users/scrawl/events{/privacy}","received_events_url":"https://api.github.com/users/scrawl/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T08:39:33Z","updated_at":"2016-12-10T08:39:33Z","body":"Thanks! One more thing, can you put the now duplicated code into a function? Anonymous namespace is fine."}}
{"actor":{"display_login":"scrawl"}}