{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/166","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/166/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/166/events","html_url":"https://github.com/chrsmith/bwapi/issues/166","id":58677485,"number":166,"title":"getGroundHeight returns 0 for tiles with creep.","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-24T00:57:58Z","updated_at":"2015-02-24T00:58:00Z","closed_at":"2015-02-24T00:57:59Z","body":"```\n> What steps will reproduce the problem?\neg\n\nediting the ExampleAI::OnFrame\n\n// for(x, y) etc\nint height = Broodwar->getGroundHeight(x*4+2, y*4+2)\nColor c;\n// Set colour based on the height\n// 0->Red, 1->Orange, 2->Green\nBroodwar->drawDotMap(x*32+16,y*32+16, c)\n\nPlay as zerg starting on high ground (eg astral balance)\n\n> What is the expected output? What do you see instead?\nCreep gets the colour corresponding to 0, no matter the height of the\nunderlying ground.  Creating a creep colony shows the colours changing.\n\n\n> What version of the product are you using? On what operating system?\n2.4\n\n> Please provide any additional information below.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `danielst...@gmail.com` on 11 Dec 2009 at 12:23"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75677886","html_url":"https://github.com/chrsmith/bwapi/issues/166#issuecomment-75677886","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/166","id":75677886,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T00:58:00Z","updated_at":"2015-02-24T00:58:00Z","body":"```\nFixed in r2436.\n```\n\n-----\nOriginal comment by `lowerlo...@gmail.com` on 13 Jun 2010 at 4:35\n* Changed state: **Fixed**"}}