{"action":"created","comment":{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments/26108842","id":26108842,"diff_hunk":"@@ -290,18 +292,20 @@ static void window_map_mouseup()\n \n \tcase WIDX_LAND_TOOL_SMALLER:\n \t\t--RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16);\n+\t\tland_tool_limit=1;\n \n-\t\tif (RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) < 1)\n-\t\t\tRCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) = 1;\n+\t\tif (RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) < land_tool_limit)\n+\t\t\tRCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) = land_tool_limit;\n \n \t\twindow_invalidate(var_w);\n \t\tbreak;\n \n \tcase WIDX_LAND_TOOL_LARGER:\n \t\t++RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16);\n+\t\tland_tool_limit=64;","path":"src/windows/map.c","position":29,"original_position":29,"commit_id":"9340c99a1eab47261ff6894a2c111c691fb663cd","original_commit_id":"e76bddb82090a3a242b48e1f162dee5d0f22738c","user":{"login":"adrian17","id":4729533,"avatar_url":"https://avatars.githubusercontent.com/u/4729533?v=3","gravatar_id":"","url":"https://api.github.com/users/adrian17","html_url":"https://github.com/adrian17","followers_url":"https://api.github.com/users/adrian17/followers","following_url":"https://api.github.com/users/adrian17/following{/other_user}","gists_url":"https://api.github.com/users/adrian17/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian17/subscriptions","organizations_url":"https://api.github.com/users/adrian17/orgs","repos_url":"https://api.github.com/users/adrian17/repos","events_url":"https://api.github.com/users/adrian17/events{/privacy}","received_events_url":"https://api.github.com/users/adrian17/received_events","type":"User","site_admin":false},"body":"Ah, I see.","created_at":"2015-03-10T09:53:25Z","updated_at":"2015-03-10T09:53:25Z","html_url":"https://github.com/IntelOrca/OpenRCT2/pull/907#discussion_r26108842","pull_request_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907","_links":{"self":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments/26108842"},"html":{"href":"https://github.com/IntelOrca/OpenRCT2/pull/907#discussion_r26108842"},"pull_request":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907"}}},"pull_request":{"url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907","id":30804076,"html_url":"https://github.com/IntelOrca/OpenRCT2/pull/907","diff_url":"https://github.com/IntelOrca/OpenRCT2/pull/907.diff","patch_url":"https://github.com/IntelOrca/OpenRCT2/pull/907.patch","issue_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/907","number":907,"state":"open","locked":false,"title":"Extend max land ownership tool size to 64, closes #841","user":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"body":"![scr5](https://cloud.githubusercontent.com/assets/1478678/6565255/0af1d59a-c6af-11e4-9a79-e16b04c3f0cc.png)\r\n\r\nI did notice one small bug though: if you select an area larger than 7, then click the terraforming tool (keeping the Map window open) and select an area larger than 7, the number will appear in the Map window as well. Does anyone have an idea how to prevent it?","created_at":"2015-03-09T21:55:52Z","updated_at":"2015-03-10T09:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10f4375b557ee56d407c556b8eb09059f6215101","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907/commits","review_comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907/comments","review_comment_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/907/comments","statuses_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/9340c99a1eab47261ff6894a2c111c691fb663cd","head":{"label":"Gymnasiast:patch-1","ref":"patch-1","sha":"9340c99a1eab47261ff6894a2c111c691fb663cd","user":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"repo":{"id":31121786,"name":"OpenRCT2","full_name":"Gymnasiast/OpenRCT2","owner":{"login":"Gymnasiast","id":1478678,"avatar_url":"https://avatars.githubusercontent.com/u/1478678?v=3","gravatar_id":"","url":"https://api.github.com/users/Gymnasiast","html_url":"https://github.com/Gymnasiast","followers_url":"https://api.github.com/users/Gymnasiast/followers","following_url":"https://api.github.com/users/Gymnasiast/following{/other_user}","gists_url":"https://api.github.com/users/Gymnasiast/gists{/gist_id}","starred_url":"https://api.github.com/users/Gymnasiast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gymnasiast/subscriptions","organizations_url":"https://api.github.com/users/Gymnasiast/orgs","repos_url":"https://api.github.com/users/Gymnasiast/repos","events_url":"https://api.github.com/users/Gymnasiast/events{/privacy}","received_events_url":"https://api.github.com/users/Gymnasiast/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gymnasiast/OpenRCT2","description":"An open source clone of Roller Coaster Tycoon 2 built by decompiling the original game one bit at a time.","fork":true,"url":"https://api.github.com/repos/Gymnasiast/OpenRCT2","forks_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/forks","keys_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/events","assignees_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/merges","archive_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/Gymnasiast/OpenRCT2/releases{/id}","created_at":"2015-02-21T10:10:40Z","updated_at":"2015-02-27T09:48:29Z","pushed_at":"2015-03-10T09:21:46Z","git_url":"git://github.com/Gymnasiast/OpenRCT2.git","ssh_url":"git@github.com:Gymnasiast/OpenRCT2.git","clone_url":"https://github.com/Gymnasiast/OpenRCT2.git","svn_url":"https://github.com/Gymnasiast/OpenRCT2","homepage":null,"size":11048,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"IntelOrca:develop","ref":"develop","sha":"b4cc0efa8d17ffbe454a4d4db0eed222ab88dc44","user":{"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},"repo":{"id":18348651,"name":"OpenRCT2","full_name":"IntelOrca/OpenRCT2","owner":{"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},"private":false,"html_url":"https://github.com/IntelOrca/OpenRCT2","description":"An open source clone of Roller Coaster Tycoon 2 built by decompiling the original game one bit at a time.","fork":false,"url":"https://api.github.com/repos/IntelOrca/OpenRCT2","forks_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/forks","keys_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/teams","hooks_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/hooks","issue_events_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/events{/number}","events_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/events","assignees_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/assignees{/user}","branches_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/branches{/branch}","tags_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/tags","blobs_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/{sha}","languages_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/languages","stargazers_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/stargazers","contributors_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/contributors","subscribers_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/subscribers","subscription_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/subscription","commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/contents/{+path}","compare_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/merges","archive_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/downloads","issues_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues{/number}","pulls_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls{/number}","milestones_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/milestones{/number}","notifications_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/labels{/name}","releases_url":"https://api.github.com/repos/IntelOrca/OpenRCT2/releases{/id}","created_at":"2014-04-01T23:32:25Z","updated_at":"2015-03-10T01:12:12Z","pushed_at":"2015-03-09T11:53:03Z","git_url":"git://github.com/IntelOrca/OpenRCT2.git","ssh_url":"git@github.com:IntelOrca/OpenRCT2.git","clone_url":"https://github.com/IntelOrca/OpenRCT2.git","svn_url":"https://github.com/IntelOrca/OpenRCT2","homepage":null,"size":18242,"stargazers_count":819,"watchers_count":819,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":118,"mirror_url":null,"open_issues_count":102,"forks":118,"open_issues":102,"watchers":819,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907"},"html":{"href":"https://github.com/IntelOrca/OpenRCT2/pull/907"},"issue":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/907"},"comments":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/issues/907/comments"},"review_comments":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907/comments"},"review_comment":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/pulls/907/commits"},"statuses":{"href":"https://api.github.com/repos/IntelOrca/OpenRCT2/statuses/9340c99a1eab47261ff6894a2c111c691fb663cd"}}}}