- Absturz durch fehlende breaks gefixt

This commit is contained in:
Christian Schlittchen 2002-03-10 07:35:30 +00:00
parent 9b7b78ca12
commit 0c44322461
1 changed files with 4 additions and 0 deletions

View File

@ -899,12 +899,16 @@ sp_chaosrow(fighter * fi, int level, int force, spell * sp)
switch (row) { switch (row) {
case FIGHT_ROW: case FIGHT_ROW:
df->status = ST_FIGHT; df->status = ST_FIGHT;
break;
case BEHIND_ROW: case BEHIND_ROW:
df->status = ST_CHICKEN; df->status = ST_CHICKEN;
break;
case AVOID_ROW: case AVOID_ROW:
df->status = ST_AVOID; df->status = ST_AVOID;
break;
case FLEE_ROW: case FLEE_ROW:
df->status = ST_FLEE; df->status = ST_FLEE;
break;
default: default:
assert(!"unknown combatrow"); assert(!"unknown combatrow");
} }