summaryrefslogtreecommitdiff
path: root/src/bldg.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bldg.cc')
-rw-r--r--src/bldg.cc4
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++)
{