diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 10 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 916bde3c2..97c792470 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -625,4 +625,14 @@ impHandler0(priceLoad) return false; } +impHandler0(priceSave) +{ + if (shopWindow) + { + shopWindow->saveList(); + return true; + } + return false; +} + } // namespace Actions diff --git a/src/actions/actions.h b/src/actions/actions.h index 5cd21a9d8..4e0155556 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -62,6 +62,7 @@ namespace Actions decHandler(attackHuman); decHandler(trade); decHandler(priceLoad); + decHandler(priceSave); } // namespace Actions #undef decHandler |