{"action":"opened","number":14518,"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518","id":54193900,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/14518","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/14518.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/14518.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/14518","number":14518,"state":"open","locked":false,"title":"round trig_dist results in rl_dist","user":{"login":"sparr","id":121299,"avatar_url":"https://avatars.githubusercontent.com/u/121299?v=3","gravatar_id":"","url":"https://api.github.com/users/sparr","html_url":"https://github.com/sparr","followers_url":"https://api.github.com/users/sparr/followers","following_url":"https://api.github.com/users/sparr/following{/other_user}","gists_url":"https://api.github.com/users/sparr/gists{/gist_id}","starred_url":"https://api.github.com/users/sparr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparr/subscriptions","organizations_url":"https://api.github.com/users/sparr/orgs","repos_url":"https://api.github.com/users/sparr/repos","events_url":"https://api.github.com/users/sparr/events{/privacy}","received_events_url":"https://api.github.com/users/sparr/received_events","type":"User","site_admin":false},"body":"This patch changes the distance conversion when calling rl_dist with circular distances enabled, instead of truncating the float it will be rounded. Currently anything with an effect range of 10 will hit tiles up to 10.9999 tiles away. This patch changes that cap to 10.4999. The overall result is to make the game world a tiny bit bigger, mechanically, moving things farther apart by an average of 0.25 tiles.\r\n\r\nThis was inspired by #14513","created_at":"2015-12-20T06:26:26Z","updated_at":"2015-12-20T06:26:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/14518/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/82e4f143c4cc207629c60334362a0328066cb574","head":{"label":"sparr:round_trig_dist","ref":"round_trig_dist","sha":"82e4f143c4cc207629c60334362a0328066cb574","user":{"login":"sparr","id":121299,"avatar_url":"https://avatars.githubusercontent.com/u/121299?v=3","gravatar_id":"","url":"https://api.github.com/users/sparr","html_url":"https://github.com/sparr","followers_url":"https://api.github.com/users/sparr/followers","following_url":"https://api.github.com/users/sparr/following{/other_user}","gists_url":"https://api.github.com/users/sparr/gists{/gist_id}","starred_url":"https://api.github.com/users/sparr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparr/subscriptions","organizations_url":"https://api.github.com/users/sparr/orgs","repos_url":"https://api.github.com/users/sparr/repos","events_url":"https://api.github.com/users/sparr/events{/privacy}","received_events_url":"https://api.github.com/users/sparr/received_events","type":"User","site_admin":false},"repo":{"id":32027760,"name":"Cataclysm-DDA","full_name":"sparr/Cataclysm-DDA","owner":{"login":"sparr","id":121299,"avatar_url":"https://avatars.githubusercontent.com/u/121299?v=3","gravatar_id":"","url":"https://api.github.com/users/sparr","html_url":"https://github.com/sparr","followers_url":"https://api.github.com/users/sparr/followers","following_url":"https://api.github.com/users/sparr/following{/other_user}","gists_url":"https://api.github.com/users/sparr/gists{/gist_id}","starred_url":"https://api.github.com/users/sparr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparr/subscriptions","organizations_url":"https://api.github.com/users/sparr/orgs","repos_url":"https://api.github.com/users/sparr/repos","events_url":"https://api.github.com/users/sparr/events{/privacy}","received_events_url":"https://api.github.com/users/sparr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sparr/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/sparr/Cataclysm-DDA","forks_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/sparr/Cataclysm-DDA/releases{/id}","created_at":"2015-03-11T16:16:29Z","updated_at":"2015-04-23T01:47:10Z","pushed_at":"2015-12-20T06:15:52Z","git_url":"git://github.com/sparr/Cataclysm-DDA.git","ssh_url":"git@github.com:sparr/Cataclysm-DDA.git","clone_url":"https://github.com/sparr/Cataclysm-DDA.git","svn_url":"https://github.com/sparr/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":617058,"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":"master"}},"base":{"label":"CleverRaven:master","ref":"master","sha":"85239459f312058eaac9b0f14eceb45b774c8004","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-12-20T02:54:08Z","pushed_at":"2015-12-20T06:15:53Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":856948,"stargazers_count":829,"watchers_count":829,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":824,"mirror_url":null,"open_issues_count":1198,"forks":824,"open_issues":1198,"watchers":829,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/14518"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/14518"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/14518/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/14518/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/82e4f143c4cc207629c60334362a0328066cb574"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":2}}