Bug #74 ยป 0029-universal_value_initial-Fix-switch-case-fall-through.patch
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;
|