aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/valyriatear/Makefile1
-rw-r--r--games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp16
2 files changed, 17 insertions, 0 deletions
diff --git a/games/valyriatear/Makefile b/games/valyriatear/Makefile
index e196225e2c88..b541e0e33feb 100644
--- a/games/valyriatear/Makefile
+++ b/games/valyriatear/Makefile
@@ -3,6 +3,7 @@
PORTNAME= valyriatear
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= games
USE_GITHUB= yes
diff --git a/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp b/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp
new file mode 100644
index 000000000000..c3619799a21a
--- /dev/null
+++ b/games/valyriatear/files/patch-src-modes-shop-shop_sell.cpp
@@ -0,0 +1,16 @@
+diff --git src/modes/shop/shop_sell.cpp src/modes/shop/shop_sell.cpp
+index 9fa3147..17537a2 100644
+--- src/modes/shop/shop_sell.cpp
++++ src/modes/shop/shop_sell.cpp
+@@ -295,10 +295,7 @@ void SellInterface::MakeActive()
+
+ void SellInterface::TransactionNotification()
+ {
+- _PopulateLists();
+-
+- _current_category = _number_categories > 0 ? _number_categories - 1 : 0;
+- _view_mode = SHOP_VIEW_MODE_LIST;
++ Reinitialize();
+ }
+
+