1121 return InValidateDetailsWindow(0); |
1121 return InValidateDetailsWindow(0); |
1122 } |
1122 } |
1123 |
1123 |
1124 static int32 EngineRenewUpdate(int32 p1) |
1124 static int32 EngineRenewUpdate(int32 p1) |
1125 { |
1125 { |
1126 DoCommandP(0, 0, _patches.autorenew, NULL, CMD_REPLACE_VEHICLE); |
1126 DoCommandP(0, 0, _patches.autorenew, NULL, CMD_SET_AUTOREPLACE); |
1127 return 0; |
1127 return 0; |
1128 } |
1128 } |
1129 |
1129 |
1130 static int32 EngineRenewMonthsUpdate(int32 p1) |
1130 static int32 EngineRenewMonthsUpdate(int32 p1) |
1131 { |
1131 { |
1132 DoCommandP(0, 1, _patches.autorenew_months, NULL, CMD_REPLACE_VEHICLE); |
1132 DoCommandP(0, 1, _patches.autorenew_months, NULL, CMD_SET_AUTOREPLACE); |
1133 return 0; |
1133 return 0; |
1134 } |
1134 } |
1135 |
1135 |
1136 static int32 EngineRenewMoneyUpdate(int32 p1) |
1136 static int32 EngineRenewMoneyUpdate(int32 p1) |
1137 { |
1137 { |
1138 DoCommandP(0, 2, _patches.autorenew_money, NULL, CMD_REPLACE_VEHICLE); |
1138 DoCommandP(0, 2, _patches.autorenew_money, NULL, CMD_SET_AUTOREPLACE); |
1139 return 0; |
1139 return 0; |
1140 } |
1140 } |
1141 /* End - Callback Functions */ |
1141 /* End - Callback Functions */ |
1142 |
1142 |
1143 #ifndef EXTERNAL_PLAYER |
1143 #ifndef EXTERNAL_PLAYER |