From: <dol...@us...> - 2009-03-26 01:25:23
|
Revision: 9551 http://crawl-ref.svn.sourceforge.net/crawl-ref/?rev=9551&view=rev Author: dolorous Date: 2009-03-26 01:25:20 +0000 (Thu, 26 Mar 2009) Log Message: ----------- Simplify. Modified Paths: -------------- trunk/crawl-ref/source/ghost.cc Modified: trunk/crawl-ref/source/ghost.cc =================================================================== --- trunk/crawl-ref/source/ghost.cc 2009-03-26 01:14:00 UTC (rev 9550) +++ trunk/crawl-ref/source/ghost.cc 2009-03-26 01:25:20 UTC (rev 9551) @@ -350,7 +350,8 @@ job = you.char_class; // Ghosts can't worship good gods. - religion = is_good_god(you.religion) ? GOD_NO_GOD : you.religion; + if (!is_good_god(you.religion)) + religion = you.religion; best_skill = ::best_skill(SK_FIGHTING, (NUM_SKILLS - 1), 99); best_skill_level = you.skills[best_skill]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |