[1677717] Fixed acquirement of non-randarts crashing.

Also fixed Okie-Trog gift check that I'd broken inadvertently. Oops.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1011 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dshaligram  on March 10, 2007
MAB2G62ND7B3KVGJ6YIAQC52IVXZWWOEVFJ3XDVCGWI3DBRHS23AC
Change contents