diff options
author | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2019-02-15 19:20:25 +0100 |
commit | 23d4052eb88176ceb3cb3d769b09aa46a56e79cc (patch) | |
tree | 0ed44b420f012954e4cbb6d5ae401b4f972e2497 /src/init1.cc | |
parent | 2e84ed7ccc2c5d217729e4996bb0e833c0f89638 (diff) |
Move 'dungeon_flags' global to Game struct
We can get rid of a couple of icky macros, and at least it's a little
bit less global now.
Diffstat (limited to 'src/init1.cc')
-rw-r--r-- | src/init1.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init1.cc b/src/init1.cc index 9774f323..1975dc3f 100644 --- a/src/init1.cc +++ b/src/init1.cc @@ -6016,6 +6016,7 @@ static errr process_dungeon_file_aux(char *buf, int *yval, int *xval, int xvalst auto &wf_info = game->edit_data.wf_info; auto &a_info = game->edit_data.a_info; auto &k_info = game->edit_data.k_info; + auto &dungeon_flags = game->dungeon_flags; int i; |