Project

General

Profile

Bug #74 ยป 0029-universal_value_initial-Fix-switch-case-fall-through.patch

Marko Lindqvist, 12/22/2023 07:30 AM

View differences:

tools/ruledit/univ_value.c
return TRUE;
case VUT_PLAYER_FLAG:
src->value.plr_flag = PLRF_AI;
return TRUE;
case VUT_PLAYER_STATE:
src->value.plrstate = PLRS_BARBARIAN;
return TRUE;
case VUT_ACTION:
src->value.action = action_by_number(0);
return TRUE;
    (1-1/1)