From 8720f1f253b55fa5233626dd854671a5925d65de Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 20 Sep 2017 11:25:26 -0400 Subject: inventory remembers slot positions --- include/components/dialog.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/components/dialog.hpp') diff --git a/include/components/dialog.hpp b/include/components/dialog.hpp index 8d26b92..0bc23e8 100644 --- a/include/components/dialog.hpp +++ b/include/components/dialog.hpp @@ -7,7 +7,7 @@ struct Dialog : public Component { Dialog(int idx = 0) - : index(idx), rindex((idx == 9999) ? randGet() : idx), talking(false) {} + : index(idx), rindex(randGet()), talking(false) {} Dialog(XMLElement* imp, XMLElement* def) { fromXML(imp, def); } -- cgit v1.2.3