diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index 09db1d0a7b..fbbcff2fa5 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3764,18 +3764,32 @@ static bool initialise(void) burden_change(); make_hungry(0,true); - you.redraw_strength = true; + you.redraw_strength = true; you.redraw_intelligence = true; - you.redraw_dexterity = true; + you.redraw_dexterity = true; you.redraw_armour_class = true; - you.redraw_evasion = true; - you.redraw_experience = true; - you.redraw_gold = true; - you.wield_change = true; - you.quiver_change = true; + you.redraw_evasion = true; + you.redraw_experience = true; + you.redraw_gold = true; + you.wield_change = true; + you.quiver_change = true; you.start_time = time( NULL ); // start timer on session +#ifdef CLUA_BINDINGS + clua.runhook("chk_startgame", "b", newc); + std::string yname = you.your_name; + read_init_file(true); + Options.fixup_options(); + strncpy(you.your_name, yname.c_str(), kNameLen); + you.your_name[kNameLen - 1] = 0; + + // In case Lua changed the character set. + init_char_table(Options.char_set); + init_feature_table(); + init_monster_symbols(); +#endif + draw_border(); new_level(); update_turn_count(); @@ -3793,20 +3807,6 @@ static bool initialise(void) zap_los_monsters(); } -#ifdef CLUA_BINDINGS - clua.runhook("chk_startgame", "b", newc); - std::string yname = you.your_name; - read_init_file(true); - Options.fixup_options(); - strncpy(you.your_name, yname.c_str(), kNameLen); - you.your_name[kNameLen - 1] = 0; - - // In case Lua changed the character set. - init_char_table(Options.char_set); - init_feature_table(); - init_monster_symbols(); -#endif - set_cursor_enabled(false); viewwindow(1, false); // This just puts the view up for the first turn. |