| author | peter1138 |
| Tue, 25 Apr 2006 06:56:22 +0000 | |
| changeset 3655 | ed8ce86fb219 |
| parent 3654 | 4a3f8056a61c |
| child 3656 | 4e75522d698d |
--- a/economy.c Mon Apr 24 21:10:56 2006 +0000 +++ b/economy.c Tue Apr 25 06:56:22 2006 +0000 @@ -1240,10 +1240,10 @@ // Modify profit if a subsidy is in effect if (subsidised) { switch (_opt.diff.subsidy_multiplier) { - case 0: profit += profit >> 1; - case 1: profit *= 2; - case 2: profit *= 3; - default: profit *= 4; + case 0: profit += profit >> 1; break; + case 1: profit *= 2; break; + case 2: profit *= 3; break; + default: profit *= 4; break; } }