equal
deleted
inserted
replaced
498 SETBIT(_difficulty_click_a, btn); |
498 SETBIT(_difficulty_click_a, btn); |
499 } |
499 } |
500 |
500 |
501 // save value in temporary variable |
501 // save value in temporary variable |
502 ((int*)&_opt_mod_temp.diff)[btn] = val; |
502 ((int*)&_opt_mod_temp.diff)[btn] = val; |
|
503 RaiseWindowWidget(w, _opt_mod_temp.diff_level + 3); |
503 SetDifficultyLevel(3, &_opt_mod_temp); // set difficulty level to custom |
504 SetDifficultyLevel(3, &_opt_mod_temp); // set difficulty level to custom |
|
505 LowerWindowWidget(w, _opt_mod_temp.diff_level + 3); |
504 SetWindowDirty(w); |
506 SetWindowDirty(w); |
505 } break; |
507 } break; |
506 case 3: case 4: case 5: case 6: /* Easy / Medium / Hard / Custom */ |
508 case 3: case 4: case 5: case 6: /* Easy / Medium / Hard / Custom */ |
507 // temporarily change difficulty level |
509 // temporarily change difficulty level |
508 RaiseWindowWidget(w, _opt_mod_temp.diff_level + 3); |
510 RaiseWindowWidget(w, _opt_mod_temp.diff_level + 3); |