aboutsummaryrefslogtreecommitdiffstats
path: root/include/components/dialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/components/dialog.hpp')
-rw-r--r--include/components/dialog.hpp2
1 files changed, 1 insertions, 1 deletions
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);
}