diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | aebc48dffa75698be4d2c1bb2b1a0927b10be1cc (patch) | |
tree | 06ab2a70d172112588e9f104302116a5c80a3d9d /src/bldg.cc | |
parent | 0cea35759ed072d3a42b54926d6fee7d12346418 (diff) |
Move st_info into GameEditData
Diffstat (limited to 'src/bldg.cc')
-rw-r--r-- | src/bldg.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bldg.cc b/src/bldg.cc index 0425a909..8f681744 100644 --- a/src/bldg.cc +++ b/src/bldg.cc @@ -115,7 +115,9 @@ static void clear_bldg(int min_row, int max_row) void show_building(store_type const *s_ptr) { auto const &ba_info = game->edit_data.ba_info; - store_info_type *st_ptr = &st_info[s_ptr->st_idx]; + auto const &st_info = game->edit_data.st_info; + + auto st_ptr = &st_info[s_ptr->st_idx]; for (std::size_t i = 0; i < st_ptr->actions.size(); i++) { |