changeset 8179 | 60c4282e6de6 |
parent 8140 | 0d0d8c94f84b |
child 8224 | c5a64d87cc54 |
8178:28e437261743 | 8179:60c4282e6de6 |
---|---|
1100 |
1100 |
1101 break; |
1101 break; |
1102 } |
1102 } |
1103 |
1103 |
1104 case WE_TICK: |
1104 case WE_TICK: |
1105 if (_pause_game != 0) break; |
|
1106 |
|
1105 /* Update the player score every 5 days */ |
1107 /* Update the player score every 5 days */ |
1106 if (--w->custom[0] == 0) { |
1108 if (--w->custom[0] == 0) { |
1107 w->custom[0] = DAY_TICKS; |
1109 w->custom[0] = DAY_TICKS; |
1108 if (--w->custom[1] == 0) { |
1110 if (--w->custom[1] == 0) { |
1109 Player *p2; |
1111 Player *p2; |