diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | f035201f330a3b1f50a2041ea9ad3f854f7d4e00 (patch) | |
tree | 7ef58d3a83ec4b50a0fe469a704773e5e1e77606 /src/joke.cc | |
parent | 7f147b21e23662c89bd28479ea67ee7c6a94fc0c (diff) |
Move all options to a struct instead of using globals
Diffstat (limited to 'src/joke.cc')
-rw-r--r-- | src/joke.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/joke.cc b/src/joke.cc index be272115..eefee404 100644 --- a/src/joke.cc +++ b/src/joke.cc @@ -24,7 +24,7 @@ static void gen_joke_place_monster(int r_idx) bool_ gen_joke_monsters(void *data, void *in, void *out) { - if (joke_monsters) + if (options->joke_monsters) { if ((dungeon_type == 20) && (dun_level == 72)) |