summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 17:35:16 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 17:35:16 +0000
commitb3ba50a0dfcba435c3936f5e826329f0067709c5 (patch)
tree818bfabeba26a51b544fb876983ccfc9f49eb1b7 /crawl-ref/source/describe.cc
parentd5bfb1f6cd095fabfa266b0c940e4ac132ee62b0 (diff)
downloadcrawl-ref-b3ba50a0dfcba435c3936f5e826329f0067709c5.tar.gz
crawl-ref-b3ba50a0dfcba435c3936f5e826329f0067709c5.zip
Various cleanups and goto elimination.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1667 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 9fc424c628..1bb2ab3626 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -5040,7 +5040,8 @@ void describe_god( god_type which_god, bool give_title )
if (which_god == GOD_NO_GOD) //mv:no god -> say it and go away
{
cprintf( EOL "You are not religious." );
- goto end_god_info;
+ getch();
+ return;
}
colour = god_colour(which_god);
@@ -5323,8 +5324,5 @@ void describe_god( god_type which_god, bool give_title )
cprintf( "None." EOL );
}
-
-end_god_info: //end of everything (life, world, universe etc.)
-
getch(); // wait until keypressed
} //mv: That's all folks.