{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1914","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1914/labels{/name}","comments_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1914/comments","events_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/issues/1914/events","html_url":"https://github.com/OpenRCT2/OpenRCT2/issues/1914","id":105737648,"number":1914,"title":"Overflow in viewport.c","user":{"login":"janisozaur","id":550290,"avatar_url":"https://avatars.githubusercontent.com/u/550290?v=3","gravatar_id":"","url":"https://api.github.com/users/janisozaur","html_url":"https://github.com/janisozaur","followers_url":"https://api.github.com/users/janisozaur/followers","following_url":"https://api.github.com/users/janisozaur/following{/other_user}","gists_url":"https://api.github.com/users/janisozaur/gists{/gist_id}","starred_url":"https://api.github.com/users/janisozaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisozaur/subscriptions","organizations_url":"https://api.github.com/users/janisozaur/orgs","repos_url":"https://api.github.com/users/janisozaur/repos","events_url":"https://api.github.com/users/janisozaur/events{/privacy}","received_events_url":"https://api.github.com/users/janisozaur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/milestones/2","html_url":"https://github.com/OpenRCT2/OpenRCT2/milestones/v0.0.3%20-%20second%20stable","labels_url":"https://api.github.com/repos/OpenRCT2/OpenRCT2/milestones/2/labels","id":1163353,"number":2,"title":"v0.0.3 - second stable","description":"This will be the second stable release of OpenRCT2.\r\nThe goal will be to have at least all code implemented with the exception of viewport_render and vehicle_update.","creator":{"login":"IntelOrca","id":1482259,"avatar_url":"https://avatars.githubusercontent.com/u/1482259?v=3","gravatar_id":"","url":"https://api.github.com/users/IntelOrca","html_url":"https://github.com/IntelOrca","followers_url":"https://api.github.com/users/IntelOrca/followers","following_url":"https://api.github.com/users/IntelOrca/following{/other_user}","gists_url":"https://api.github.com/users/IntelOrca/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelOrca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelOrca/subscriptions","organizations_url":"https://api.github.com/users/IntelOrca/orgs","repos_url":"https://api.github.com/users/IntelOrca/repos","events_url":"https://api.github.com/users/IntelOrca/events{/privacy}","received_events_url":"https://api.github.com/users/IntelOrca/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":100,"state":"open","created_at":"2015-06-13T20:51:03Z","updated_at":"2015-10-18T11:08:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-10T06:01:23Z","updated_at":"2015-10-18T11:08:07Z","closed_at":"2015-10-18T11:08:07Z","body":"In `sub_98197C` definition\r\n`src/interface/viewport.c:724:int sub_98197C(sint8 al, sint8 ah, int image_id, sint8 cl, int edx, sint16 si, sint16 di, uint32 rotation){`\r\nyou can see `cl` is of type `sint8`, but in\r\n`src/interface/viewport.c:1598:          sub_98197C(0, 0xFF, imageId, y & 0xFF00, arrowZ, 32, 32, RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_ROTATION, uint32));`\r\nyou can see the value passed is at least 16 bits long."}}