equal
deleted
inserted
replaced
189 v->type = VEH_Road; |
189 v->type = VEH_Road; |
190 v->cur_image = 0xC15; |
190 v->cur_image = 0xC15; |
191 v->random_bits = VehicleRandomBits(); |
191 v->random_bits = VehicleRandomBits(); |
192 |
192 |
193 VehiclePositionChanged(v); |
193 VehiclePositionChanged(v); |
|
194 GetPlayer(_current_player)->num_engines[p1]++; |
194 |
195 |
195 InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); |
196 InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); |
196 RebuildVehicleLists(); |
197 RebuildVehicleLists(); |
197 InvalidateWindow(WC_COMPANY, v->owner); |
198 InvalidateWindow(WC_COMPANY, v->owner); |
198 if (IsLocalPlayer()) |
199 if (IsLocalPlayer()) |