summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index ec86fe173f..3229cb329a 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -380,7 +380,7 @@ static std::string describe_demon(const monsters &mons)
globby *= ghost.name.length();
- push_rng_state();
+ rng_save_excursion exc;
seed_rng( globby );
std::string description = "A powerful demon, ";
@@ -703,8 +703,6 @@ static std::string describe_demon(const monsters &mons)
default:
break;
}
-
- pop_rng_state();
return description;
} // end describe_demon()