X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fsave.c;h=44ad47a26cd9fa358df14471bf2c4999753bd465;hb=51d62e860115df9be4f5749d1cce2fb842029ecb;hp=e7d39b910b4206c859622b3961a4a24dec434ad1;hpb=1a1d4a7c901ab6dea8f96ea05e8d102504313e08;p=hengband%2Fhengband.git diff --git a/src/save.c b/src/save.c index e7d39b910..44ad47a26 100644 --- a/src/save.c +++ b/src/save.c @@ -484,7 +484,7 @@ static void wr_options(void) c = 0; - if (p_ptr->wizard) c |= 0x0002; + if (current_world_ptr->wizard) c |= 0x0002; if (cheat_sight) c |= 0x0040; if (cheat_turn) c |= 0x0080; @@ -522,11 +522,8 @@ static void wr_options(void) /* Set */ option_flag[os] |= (1L << ob); } - - /* Clear */ else { - /* Clear */ option_flag[os] &= ~(1L << ob); } }