Inline the hint messages.
[open-adventure.git] / newdungeon.py
index 39998e7c1bf2369f2579ddc4de08c1d8de10ebfb..41645f2ac1472cb38edccb0fdc79facf568a623b 100755 (executable)
@@ -339,8 +339,8 @@ def get_hints(hnt, arb):
         number = item["number"]
         penalty = item["penalty"]
         turns = item["turns"]
-        question = make_c_string(md[item["question"]])
-        hint = make_c_string(md[item["hint"]])
+        question = make_c_string(item["question"])
+        hint = make_c_string(item["hint"])
         hnt_str += template.format(number, penalty, turns, question, hint)
     hnt_str = hnt_str[:-1] # trim trailing newline
     return hnt_str