{"action":"opened","number":1600,"pull_request":{"url":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600","id":30706583,"html_url":"https://github.com/ValveSoftware/halflife/pull/1600","diff_url":"https://github.com/ValveSoftware/halflife/pull/1600.diff","patch_url":"https://github.com/ValveSoftware/halflife/pull/1600.patch","issue_url":"https://api.github.com/repos/ValveSoftware/halflife/issues/1600","number":1600,"state":"open","locked":false,"title":"Fix the crowbar damage always being calculated halved.","user":{"login":"YaLTeR","id":1794388,"avatar_url":"https://avatars.githubusercontent.com/u/1794388?v=3","gravatar_id":"","url":"https://api.github.com/users/YaLTeR","html_url":"https://github.com/YaLTeR","followers_url":"https://api.github.com/users/YaLTeR/followers","following_url":"https://api.github.com/users/YaLTeR/following{/other_user}","gists_url":"https://api.github.com/users/YaLTeR/gists{/gist_id}","starred_url":"https://api.github.com/users/YaLTeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaLTeR/subscriptions","organizations_url":"https://api.github.com/users/YaLTeR/orgs","repos_url":"https://api.github.com/users/YaLTeR/repos","events_url":"https://api.github.com/users/YaLTeR/events{/privacy}","received_events_url":"https://api.github.com/users/YaLTeR/received_events","type":"User","site_admin":false},"body":"...as opposed to the first hit dealing the full damage and the subsequent hits - halved.\r\n\r\nIf the DLLs are built with the clientside weapon prediction system, the condition for detecting the first hit always evaluates to false, so an extra check is added specifically for this condition.\r\n\r\nHow to check / reproduce:\r\n1. Load the `c1a1` map. Run into the next room, past the lasers and pick up the crowbar.\r\n2. Hit a window in the door once.\r\n- Expected behaviour: the window breaks from the first hit, as it was before the weapon prediction system.\r\n- Current behaviour (without this fix): the window doesn't break because the first hit is not doing the halved damage it supposed to do thus making the damage not enough to break the window.","created_at":"2015-03-07T18:05:51Z","updated_at":"2015-03-07T18:05:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600/commits","review_comments_url":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600/comments","review_comment_url":"https://api.github.com/repos/ValveSoftware/halflife/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ValveSoftware/halflife/issues/1600/comments","statuses_url":"https://api.github.com/repos/ValveSoftware/halflife/statuses/8903b33ef34cbe7e33bfbaa15f5c418bf9d01a02","head":{"label":"YaLTeR:Fix-Crowbar-Damage","ref":"Fix-Crowbar-Damage","sha":"8903b33ef34cbe7e33bfbaa15f5c418bf9d01a02","user":{"login":"YaLTeR","id":1794388,"avatar_url":"https://avatars.githubusercontent.com/u/1794388?v=3","gravatar_id":"","url":"https://api.github.com/users/YaLTeR","html_url":"https://github.com/YaLTeR","followers_url":"https://api.github.com/users/YaLTeR/followers","following_url":"https://api.github.com/users/YaLTeR/following{/other_user}","gists_url":"https://api.github.com/users/YaLTeR/gists{/gist_id}","starred_url":"https://api.github.com/users/YaLTeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaLTeR/subscriptions","organizations_url":"https://api.github.com/users/YaLTeR/orgs","repos_url":"https://api.github.com/users/YaLTeR/repos","events_url":"https://api.github.com/users/YaLTeR/events{/privacy}","received_events_url":"https://api.github.com/users/YaLTeR/received_events","type":"User","site_admin":false},"repo":{"id":24535677,"name":"halflife","full_name":"YaLTeR/halflife","owner":{"login":"YaLTeR","id":1794388,"avatar_url":"https://avatars.githubusercontent.com/u/1794388?v=3","gravatar_id":"","url":"https://api.github.com/users/YaLTeR","html_url":"https://github.com/YaLTeR","followers_url":"https://api.github.com/users/YaLTeR/followers","following_url":"https://api.github.com/users/YaLTeR/following{/other_user}","gists_url":"https://api.github.com/users/YaLTeR/gists{/gist_id}","starred_url":"https://api.github.com/users/YaLTeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaLTeR/subscriptions","organizations_url":"https://api.github.com/users/YaLTeR/orgs","repos_url":"https://api.github.com/users/YaLTeR/repos","events_url":"https://api.github.com/users/YaLTeR/events{/privacy}","received_events_url":"https://api.github.com/users/YaLTeR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YaLTeR/halflife","description":"Half-Life 1 engine based games","fork":true,"url":"https://api.github.com/repos/YaLTeR/halflife","forks_url":"https://api.github.com/repos/YaLTeR/halflife/forks","keys_url":"https://api.github.com/repos/YaLTeR/halflife/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YaLTeR/halflife/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YaLTeR/halflife/teams","hooks_url":"https://api.github.com/repos/YaLTeR/halflife/hooks","issue_events_url":"https://api.github.com/repos/YaLTeR/halflife/issues/events{/number}","events_url":"https://api.github.com/repos/YaLTeR/halflife/events","assignees_url":"https://api.github.com/repos/YaLTeR/halflife/assignees{/user}","branches_url":"https://api.github.com/repos/YaLTeR/halflife/branches{/branch}","tags_url":"https://api.github.com/repos/YaLTeR/halflife/tags","blobs_url":"https://api.github.com/repos/YaLTeR/halflife/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YaLTeR/halflife/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YaLTeR/halflife/git/refs{/sha}","trees_url":"https://api.github.com/repos/YaLTeR/halflife/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YaLTeR/halflife/statuses/{sha}","languages_url":"https://api.github.com/repos/YaLTeR/halflife/languages","stargazers_url":"https://api.github.com/repos/YaLTeR/halflife/stargazers","contributors_url":"https://api.github.com/repos/YaLTeR/halflife/contributors","subscribers_url":"https://api.github.com/repos/YaLTeR/halflife/subscribers","subscription_url":"https://api.github.com/repos/YaLTeR/halflife/subscription","commits_url":"https://api.github.com/repos/YaLTeR/halflife/commits{/sha}","git_commits_url":"https://api.github.com/repos/YaLTeR/halflife/git/commits{/sha}","comments_url":"https://api.github.com/repos/YaLTeR/halflife/comments{/number}","issue_comment_url":"https://api.github.com/repos/YaLTeR/halflife/issues/comments{/number}","contents_url":"https://api.github.com/repos/YaLTeR/halflife/contents/{+path}","compare_url":"https://api.github.com/repos/YaLTeR/halflife/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YaLTeR/halflife/merges","archive_url":"https://api.github.com/repos/YaLTeR/halflife/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YaLTeR/halflife/downloads","issues_url":"https://api.github.com/repos/YaLTeR/halflife/issues{/number}","pulls_url":"https://api.github.com/repos/YaLTeR/halflife/pulls{/number}","milestones_url":"https://api.github.com/repos/YaLTeR/halflife/milestones{/number}","notifications_url":"https://api.github.com/repos/YaLTeR/halflife/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YaLTeR/halflife/labels{/name}","releases_url":"https://api.github.com/repos/YaLTeR/halflife/releases{/id}","created_at":"2014-09-27T15:44:17Z","updated_at":"2014-10-06T07:15:27Z","pushed_at":"2015-03-07T18:01:11Z","git_url":"git://github.com/YaLTeR/halflife.git","ssh_url":"git@github.com:YaLTeR/halflife.git","clone_url":"https://github.com/YaLTeR/halflife.git","svn_url":"https://github.com/YaLTeR/halflife","homepage":null,"size":5932,"stargazers_count":2,"watchers_count":2,"language":null,"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":2,"default_branch":"master"}},"base":{"label":"ValveSoftware:master","ref":"master","sha":"5d761709a31ce1e71488f2668321de05f791b405","user":{"login":"ValveSoftware","id":3082775,"avatar_url":"https://avatars.githubusercontent.com/u/3082775?v=3","gravatar_id":"","url":"https://api.github.com/users/ValveSoftware","html_url":"https://github.com/ValveSoftware","followers_url":"https://api.github.com/users/ValveSoftware/followers","following_url":"https://api.github.com/users/ValveSoftware/following{/other_user}","gists_url":"https://api.github.com/users/ValveSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/ValveSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValveSoftware/subscriptions","organizations_url":"https://api.github.com/users/ValveSoftware/orgs","repos_url":"https://api.github.com/users/ValveSoftware/repos","events_url":"https://api.github.com/users/ValveSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/ValveSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":8207159,"name":"halflife","full_name":"ValveSoftware/halflife","owner":{"login":"ValveSoftware","id":3082775,"avatar_url":"https://avatars.githubusercontent.com/u/3082775?v=3","gravatar_id":"","url":"https://api.github.com/users/ValveSoftware","html_url":"https://github.com/ValveSoftware","followers_url":"https://api.github.com/users/ValveSoftware/followers","following_url":"https://api.github.com/users/ValveSoftware/following{/other_user}","gists_url":"https://api.github.com/users/ValveSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/ValveSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValveSoftware/subscriptions","organizations_url":"https://api.github.com/users/ValveSoftware/orgs","repos_url":"https://api.github.com/users/ValveSoftware/repos","events_url":"https://api.github.com/users/ValveSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/ValveSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ValveSoftware/halflife","description":"Half-Life 1 engine based games","fork":false,"url":"https://api.github.com/repos/ValveSoftware/halflife","forks_url":"https://api.github.com/repos/ValveSoftware/halflife/forks","keys_url":"https://api.github.com/repos/ValveSoftware/halflife/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ValveSoftware/halflife/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ValveSoftware/halflife/teams","hooks_url":"https://api.github.com/repos/ValveSoftware/halflife/hooks","issue_events_url":"https://api.github.com/repos/ValveSoftware/halflife/issues/events{/number}","events_url":"https://api.github.com/repos/ValveSoftware/halflife/events","assignees_url":"https://api.github.com/repos/ValveSoftware/halflife/assignees{/user}","branches_url":"https://api.github.com/repos/ValveSoftware/halflife/branches{/branch}","tags_url":"https://api.github.com/repos/ValveSoftware/halflife/tags","blobs_url":"https://api.github.com/repos/ValveSoftware/halflife/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ValveSoftware/halflife/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ValveSoftware/halflife/git/refs{/sha}","trees_url":"https://api.github.com/repos/ValveSoftware/halflife/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ValveSoftware/halflife/statuses/{sha}","languages_url":"https://api.github.com/repos/ValveSoftware/halflife/languages","stargazers_url":"https://api.github.com/repos/ValveSoftware/halflife/stargazers","contributors_url":"https://api.github.com/repos/ValveSoftware/halflife/contributors","subscribers_url":"https://api.github.com/repos/ValveSoftware/halflife/subscribers","subscription_url":"https://api.github.com/repos/ValveSoftware/halflife/subscription","commits_url":"https://api.github.com/repos/ValveSoftware/halflife/commits{/sha}","git_commits_url":"https://api.github.com/repos/ValveSoftware/halflife/git/commits{/sha}","comments_url":"https://api.github.com/repos/ValveSoftware/halflife/comments{/number}","issue_comment_url":"https://api.github.com/repos/ValveSoftware/halflife/issues/comments{/number}","contents_url":"https://api.github.com/repos/ValveSoftware/halflife/contents/{+path}","compare_url":"https://api.github.com/repos/ValveSoftware/halflife/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ValveSoftware/halflife/merges","archive_url":"https://api.github.com/repos/ValveSoftware/halflife/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ValveSoftware/halflife/downloads","issues_url":"https://api.github.com/repos/ValveSoftware/halflife/issues{/number}","pulls_url":"https://api.github.com/repos/ValveSoftware/halflife/pulls{/number}","milestones_url":"https://api.github.com/repos/ValveSoftware/halflife/milestones{/number}","notifications_url":"https://api.github.com/repos/ValveSoftware/halflife/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ValveSoftware/halflife/labels{/name}","releases_url":"https://api.github.com/repos/ValveSoftware/halflife/releases{/id}","created_at":"2013-02-14T20:39:38Z","updated_at":"2015-03-04T12:25:42Z","pushed_at":"2014-12-31T03:38:10Z","git_url":"git://github.com/ValveSoftware/halflife.git","ssh_url":"git@github.com:ValveSoftware/halflife.git","clone_url":"https://github.com/ValveSoftware/halflife.git","svn_url":"https://github.com/ValveSoftware/halflife","homepage":null,"size":6193,"stargazers_count":718,"watchers_count":718,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":698,"forks":159,"open_issues":698,"watchers":718,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600"},"html":{"href":"https://github.com/ValveSoftware/halflife/pull/1600"},"issue":{"href":"https://api.github.com/repos/ValveSoftware/halflife/issues/1600"},"comments":{"href":"https://api.github.com/repos/ValveSoftware/halflife/issues/1600/comments"},"review_comments":{"href":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600/comments"},"review_comment":{"href":"https://api.github.com/repos/ValveSoftware/halflife/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ValveSoftware/halflife/pulls/1600/commits"},"statuses":{"href":"https://api.github.com/repos/ValveSoftware/halflife/statuses/8903b33ef34cbe7e33bfbaa15f5c418bf9d01a02"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}