diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cc | 8 | ||||
-rw-r--r-- | src/squelch/condition.cc | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/modules.cc b/src/modules.cc index 8eebb35d..611afe63 100644 --- a/src/modules.cc +++ b/src/modules.cc @@ -480,7 +480,7 @@ void tome_intro() { dleft , TERM_L_BLUE, "to find the true nature of the legends beyond them?", 12, 0, }, { dright, TERM_L_BLUE, "If this is so, then seeketh me.", 13, -1, }, { dleft , TERM_WHITE , "[Press any key to continue]", 23, -1, }, - { NULL, } + { NULL , TERM_WHITE , NULL, 0, 0, } }; intro_text intro2[] = { @@ -493,7 +493,7 @@ void tome_intro() { dleft , TERM_WHITE , "present", 15, 1, }, { dright, TERM_YELLOW , "T.o.M.E.", 16, 0, }, { dleft , TERM_WHITE , "[Press any key to continue]", 23, -1, }, - { NULL, } + { NULL , TERM_WHITE , NULL, 0, 0, } }; screen_save(); @@ -528,7 +528,7 @@ void theme_intro() { dright, TERM_L_BLUE , "In the land of Mordor, where the Shadows lie.", 17, -1, }, { dright, TERM_L_GREEN, "--J.R.R. Tolkien", 18, 0, }, { dleft , TERM_WHITE , "[Press any key to continue]", 23, -1, }, - { NULL, }, + { NULL , TERM_WHITE , NULL, 0, 0, }, }; struct intro_text intro2[] = { @@ -541,7 +541,7 @@ void theme_intro() { dleft , TERM_WHITE , "present", 15, 1, }, { dright, TERM_YELLOW , "Theme (a module for ToME)", 16, 0, }, { dleft , TERM_WHITE , "[Press any key to continue]", 23, -1, }, - { NULL, }, + { NULL , TERM_WHITE , NULL, 0, 0, }, }; screen_save(); diff --git a/src/squelch/condition.cc b/src/squelch/condition.cc index 00243450..c3b8c3f5 100644 --- a/src/squelch/condition.cc +++ b/src/squelch/condition.cc @@ -760,7 +760,7 @@ std::shared_ptr<Condition> SkillCondition::from_json(json_t *j) return nullptr; } - uint16_t si = find_skill_i(s); + auto si = find_skill_i(s); if (si < 0) { msg_print("Invalid 'name' property"); @@ -903,7 +903,7 @@ std::shared_ptr<Condition> AbilityCondition::from_json(json_t *j) return nullptr; } - uint16_t ai = find_ability(a); + auto ai = find_ability(a); if (ai < 0) { msg_print("Invalid 'ability' property"); |