diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-25 13:01:08 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-11-25 13:01:08 -0500 |
commit | a4f190c752e1286b3118fcd372851456dcf32188 (patch) | |
tree | 791dd2af4f265393a5843f81f8032c2e6a91b24e /include/components.hpp | |
parent | a54c935490b2c4e3840b91796c5ca530db8a828f (diff) |
reenabled dialog, fixed going inside
Diffstat (limited to 'include/components.hpp')
-rw-r--r-- | include/components.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/components.hpp b/include/components.hpp index f2e040d..1c83a34 100644 --- a/include/components.hpp +++ b/include/components.hpp @@ -232,9 +232,10 @@ struct Visible { struct Dialog { Dialog(int idx = 0) - : index(idx) {} + : index(idx), rindex((idx == 9999) ? randGet() : idx) {} int index; + int rindex; }; /** |