fixing the gcc build (switch warning)

This commit is contained in:
Enno Rehling 2014-11-02 12:45:20 +01:00
parent ecc3b1b441
commit 59075b7194
1 changed files with 2 additions and 1 deletions

View File

@ -3531,7 +3531,6 @@ void produce(struct region *r)
continue;
switch (todo) {
case K_ENTERTAIN:
entertain_cmd(u, u->thisorder);
break;
@ -3571,6 +3570,8 @@ void produce(struct region *r)
case K_RESEARCH:
research_cmd(u, u->thisorder);
break;
default:
assert(!"should not happen");
}
}