(mission): Silence compiler warning.

This commit is contained in:
Markus Armbruster 2006-03-29 19:40:42 +00:00
parent 9646854705
commit e8b50af84e

View file

@ -204,6 +204,9 @@ mission(void)
case EF_PLANE: case EF_PLANE:
mobmax = plane_mob_max; mobmax = plane_mob_max;
break; break;
default:
CANT_HAPPEN("bad TYPE");
return RET_FAIL;
} }
mobused = ldround((mission_mob_cost * (double)mobmax), 1); mobused = ldround((mission_mob_cost * (double)mobmax), 1);