{"action":"opened","number":223,"pull_request":{"url":"https://api.github.com/repos/nwnxee/unified/pulls/223","id":214263503,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MjYzNTAz","html_url":"https://github.com/nwnxee/unified/pull/223","diff_url":"https://github.com/nwnxee/unified/pull/223.diff","patch_url":"https://github.com/nwnxee/unified/pull/223.patch","issue_url":"https://api.github.com/repos/nwnxee/unified/issues/223","number":223,"state":"open","locked":false,"title":"pos: Use dynamic_cast like a normal person","user":{"login":"mtijanic","id":7016472,"node_id":"MDQ6VXNlcjcwMTY0NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/7016472?v=4","gravatar_id":"","url":"https://api.github.com/users/mtijanic","html_url":"https://github.com/mtijanic","followers_url":"https://api.github.com/users/mtijanic/followers","following_url":"https://api.github.com/users/mtijanic/following{/other_user}","gists_url":"https://api.github.com/users/mtijanic/gists{/gist_id}","starred_url":"https://api.github.com/users/mtijanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtijanic/subscriptions","organizations_url":"https://api.github.com/users/mtijanic/orgs","repos_url":"https://api.github.com/users/mtijanic/repos","events_url":"https://api.github.com/users/mtijanic/events{/privacy}","received_events_url":"https://api.github.com/users/mtijanic/received_events","type":"User","site_admin":false},"body":"CNWSArea uses multiple inheritance so a C style cast is bad. Not sure why I used those in the first place, maybe trying to cut down on the includes?\r\n\r\nAnyway, this fixes a crash when destroying areas. Testing:\r\n\r\n```c\r\nDestroyArea(CopyArea(GetFirstArea()));\r\n```","created_at":"2018-09-10T10:14:18Z","updated_at":"2018-09-10T10:14:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nwnxee/unified/pulls/223/commits","review_comments_url":"https://api.github.com/repos/nwnxee/unified/pulls/223/comments","review_comment_url":"https://api.github.com/repos/nwnxee/unified/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nwnxee/unified/issues/223/comments","statuses_url":"https://api.github.com/repos/nwnxee/unified/statuses/8b168280defa9936d5378389c2f014c8904f42b5","head":{"label":"mtijanic:pos-crashfix","ref":"pos-crashfix","sha":"8b168280defa9936d5378389c2f014c8904f42b5","user":{"login":"mtijanic","id":7016472,"node_id":"MDQ6VXNlcjcwMTY0NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/7016472?v=4","gravatar_id":"","url":"https://api.github.com/users/mtijanic","html_url":"https://github.com/mtijanic","followers_url":"https://api.github.com/users/mtijanic/followers","following_url":"https://api.github.com/users/mtijanic/following{/other_user}","gists_url":"https://api.github.com/users/mtijanic/gists{/gist_id}","starred_url":"https://api.github.com/users/mtijanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtijanic/subscriptions","organizations_url":"https://api.github.com/users/mtijanic/orgs","repos_url":"https://api.github.com/users/mtijanic/repos","events_url":"https://api.github.com/users/mtijanic/events{/privacy}","received_events_url":"https://api.github.com/users/mtijanic/received_events","type":"User","site_admin":false},"repo":{"id":117730448,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc3MzA0NDg=","name":"unified","full_name":"mtijanic/unified","owner":{"login":"mtijanic","id":7016472,"node_id":"MDQ6VXNlcjcwMTY0NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/7016472?v=4","gravatar_id":"","url":"https://api.github.com/users/mtijanic","html_url":"https://github.com/mtijanic","followers_url":"https://api.github.com/users/mtijanic/followers","following_url":"https://api.github.com/users/mtijanic/following{/other_user}","gists_url":"https://api.github.com/users/mtijanic/gists{/gist_id}","starred_url":"https://api.github.com/users/mtijanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtijanic/subscriptions","organizations_url":"https://api.github.com/users/mtijanic/orgs","repos_url":"https://api.github.com/users/mtijanic/repos","events_url":"https://api.github.com/users/mtijanic/events{/privacy}","received_events_url":"https://api.github.com/users/mtijanic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtijanic/unified","description":null,"fork":true,"url":"https://api.github.com/repos/mtijanic/unified","forks_url":"https://api.github.com/repos/mtijanic/unified/forks","keys_url":"https://api.github.com/repos/mtijanic/unified/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtijanic/unified/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtijanic/unified/teams","hooks_url":"https://api.github.com/repos/mtijanic/unified/hooks","issue_events_url":"https://api.github.com/repos/mtijanic/unified/issues/events{/number}","events_url":"https://api.github.com/repos/mtijanic/unified/events","assignees_url":"https://api.github.com/repos/mtijanic/unified/assignees{/user}","branches_url":"https://api.github.com/repos/mtijanic/unified/branches{/branch}","tags_url":"https://api.github.com/repos/mtijanic/unified/tags","blobs_url":"https://api.github.com/repos/mtijanic/unified/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtijanic/unified/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtijanic/unified/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtijanic/unified/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtijanic/unified/statuses/{sha}","languages_url":"https://api.github.com/repos/mtijanic/unified/languages","stargazers_url":"https://api.github.com/repos/mtijanic/unified/stargazers","contributors_url":"https://api.github.com/repos/mtijanic/unified/contributors","subscribers_url":"https://api.github.com/repos/mtijanic/unified/subscribers","subscription_url":"https://api.github.com/repos/mtijanic/unified/subscription","commits_url":"https://api.github.com/repos/mtijanic/unified/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtijanic/unified/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtijanic/unified/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtijanic/unified/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtijanic/unified/contents/{+path}","compare_url":"https://api.github.com/repos/mtijanic/unified/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtijanic/unified/merges","archive_url":"https://api.github.com/repos/mtijanic/unified/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtijanic/unified/downloads","issues_url":"https://api.github.com/repos/mtijanic/unified/issues{/number}","pulls_url":"https://api.github.com/repos/mtijanic/unified/pulls{/number}","milestones_url":"https://api.github.com/repos/mtijanic/unified/milestones{/number}","notifications_url":"https://api.github.com/repos/mtijanic/unified/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtijanic/unified/labels{/name}","releases_url":"https://api.github.com/repos/mtijanic/unified/releases{/id}","deployments_url":"https://api.github.com/repos/mtijanic/unified/deployments","created_at":"2018-01-16T19:23:31Z","updated_at":"2018-08-12T15:01:09Z","pushed_at":"2018-09-10T10:11:21Z","git_url":"git://github.com/mtijanic/unified.git","ssh_url":"git@github.com:mtijanic/unified.git","clone_url":"https://github.com/mtijanic/unified.git","svn_url":"https://github.com/mtijanic/unified","homepage":null,"size":14584,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nwnxee:master","ref":"master","sha":"e6fdd497a999d552834e7d40e59013becb72a161","user":{"login":"nwnxee","id":35499600,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NDk5NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/35499600?v=4","gravatar_id":"","url":"https://api.github.com/users/nwnxee","html_url":"https://github.com/nwnxee","followers_url":"https://api.github.com/users/nwnxee/followers","following_url":"https://api.github.com/users/nwnxee/following{/other_user}","gists_url":"https://api.github.com/users/nwnxee/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnxee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnxee/subscriptions","organizations_url":"https://api.github.com/users/nwnxee/orgs","repos_url":"https://api.github.com/users/nwnxee/repos","events_url":"https://api.github.com/users/nwnxee/events{/privacy}","received_events_url":"https://api.github.com/users/nwnxee/received_events","type":"Organization","site_admin":false},"repo":{"id":117715326,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc3MTUzMjY=","name":"unified","full_name":"nwnxee/unified","owner":{"login":"nwnxee","id":35499600,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NDk5NjAw","avatar_url":"https://avatars2.githubusercontent.com/u/35499600?v=4","gravatar_id":"","url":"https://api.github.com/users/nwnxee","html_url":"https://github.com/nwnxee","followers_url":"https://api.github.com/users/nwnxee/followers","following_url":"https://api.github.com/users/nwnxee/following{/other_user}","gists_url":"https://api.github.com/users/nwnxee/gists{/gist_id}","starred_url":"https://api.github.com/users/nwnxee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwnxee/subscriptions","organizations_url":"https://api.github.com/users/nwnxee/orgs","repos_url":"https://api.github.com/users/nwnxee/repos","events_url":"https://api.github.com/users/nwnxee/events{/privacy}","received_events_url":"https://api.github.com/users/nwnxee/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nwnxee/unified","description":"Binaries available under the Releases tab on Github: https://github.com/nwnxee/unified/releases","fork":false,"url":"https://api.github.com/repos/nwnxee/unified","forks_url":"https://api.github.com/repos/nwnxee/unified/forks","keys_url":"https://api.github.com/repos/nwnxee/unified/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nwnxee/unified/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nwnxee/unified/teams","hooks_url":"https://api.github.com/repos/nwnxee/unified/hooks","issue_events_url":"https://api.github.com/repos/nwnxee/unified/issues/events{/number}","events_url":"https://api.github.com/repos/nwnxee/unified/events","assignees_url":"https://api.github.com/repos/nwnxee/unified/assignees{/user}","branches_url":"https://api.github.com/repos/nwnxee/unified/branches{/branch}","tags_url":"https://api.github.com/repos/nwnxee/unified/tags","blobs_url":"https://api.github.com/repos/nwnxee/unified/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nwnxee/unified/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nwnxee/unified/git/refs{/sha}","trees_url":"https://api.github.com/repos/nwnxee/unified/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nwnxee/unified/statuses/{sha}","languages_url":"https://api.github.com/repos/nwnxee/unified/languages","stargazers_url":"https://api.github.com/repos/nwnxee/unified/stargazers","contributors_url":"https://api.github.com/repos/nwnxee/unified/contributors","subscribers_url":"https://api.github.com/repos/nwnxee/unified/subscribers","subscription_url":"https://api.github.com/repos/nwnxee/unified/subscription","commits_url":"https://api.github.com/repos/nwnxee/unified/commits{/sha}","git_commits_url":"https://api.github.com/repos/nwnxee/unified/git/commits{/sha}","comments_url":"https://api.github.com/repos/nwnxee/unified/comments{/number}","issue_comment_url":"https://api.github.com/repos/nwnxee/unified/issues/comments{/number}","contents_url":"https://api.github.com/repos/nwnxee/unified/contents/{+path}","compare_url":"https://api.github.com/repos/nwnxee/unified/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nwnxee/unified/merges","archive_url":"https://api.github.com/repos/nwnxee/unified/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nwnxee/unified/downloads","issues_url":"https://api.github.com/repos/nwnxee/unified/issues{/number}","pulls_url":"https://api.github.com/repos/nwnxee/unified/pulls{/number}","milestones_url":"https://api.github.com/repos/nwnxee/unified/milestones{/number}","notifications_url":"https://api.github.com/repos/nwnxee/unified/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nwnxee/unified/labels{/name}","releases_url":"https://api.github.com/repos/nwnxee/unified/releases{/id}","deployments_url":"https://api.github.com/repos/nwnxee/unified/deployments","created_at":"2018-01-16T17:16:01Z","updated_at":"2018-09-09T09:08:27Z","pushed_at":"2018-09-09T09:15:24Z","git_url":"git://github.com/nwnxee/unified.git","ssh_url":"git@github.com:nwnxee/unified.git","clone_url":"https://github.com/nwnxee/unified.git","svn_url":"https://github.com/nwnxee/unified","homepage":"https://nwnx.io/","size":14098,"stargazers_count":31,"watchers_count":31,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":47,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nwnxee/unified/pulls/223"},"html":{"href":"https://github.com/nwnxee/unified/pull/223"},"issue":{"href":"https://api.github.com/repos/nwnxee/unified/issues/223"},"comments":{"href":"https://api.github.com/repos/nwnxee/unified/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/nwnxee/unified/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/nwnxee/unified/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nwnxee/unified/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/nwnxee/unified/statuses/8b168280defa9936d5378389c2f014c8904f42b5"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"mtijanic"}}