Fixed possible crash when choosing random class (Chris Hamons.)

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

Created by  haranp  on April 16, 2007
33XVUXSKVD3XYQVD63WXGLLICWXFMZSU2YRP2VNOII5A3OU2C3UQC
Change contents