diff -r f540f1fb6bd9 -r 2e1e4d2f71dd src/misc_cmd.cpp --- a/src/misc_cmd.cpp Sun May 25 20:00:10 2008 +0000 +++ b/src/misc_cmd.cpp Sun May 25 22:36:44 2008 +0000 @@ -395,11 +395,11 @@ { if (p1 != (uint32)-1L && ((int32)p1 >= GAME_DIFFICULTY_NUM || (int32)p1 < 0)) return CMD_ERROR; - GameOptions *opt_ptr = (_game_mode == GM_MENU) ? &_opt_newgame : &_opt; + DifficultySettings *opt_ptr = (_game_mode == GM_MENU) ? &_settings_newgame.difficulty : &_settings.difficulty; if (flags & DC_EXEC) { if (p1 != (uint32)-1L) { - ((GDType*)&opt_ptr->diff)[p1] = p2; + ((GDType*)opt_ptr)[p1] = p2; opt_ptr->diff_level = 3; // custom difficulty level } else { opt_ptr->diff_level = p2;