(svn r17119) -Codechange: replace constants in subsidy.cpp by enum values

This commit is contained in:
smatz
2009-08-08 18:26:25 +00:00
parent 562eb36838
commit 0f1a07d185
3 changed files with 22 additions and 9 deletions

View File

@@ -1875,7 +1875,7 @@ bool AfterLoadGame()
Subsidy *s;
FOR_ALL_SUBSIDIES(s) {
/* Convert only nonawarded subsidies. The original source and destination town/industry
* anymore for awarded subsidies, so invalidate them. */
* can't be determined anymore for awarded subsidies, so invalidate them. */
if (s->remaining < 12) {
s->remaining = 12 - s->remaining; // convert "age" to "remaining"
s->awarded = INVALID_COMPANY; // not awarded to anyone