mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 12:59:33 +00:00
(svn r14174) -Fix: since now, we are 'losing' things, not 'loosing'
This commit is contained in:
parent
b60ff46806
commit
c9bef19043
@ -181,7 +181,7 @@ static CargoID GetNewCargoTypeForReplace(Vehicle *v, EngineID engine_type)
|
||||
} else {
|
||||
if (!HasBit(available_cargo_types, cargo_type)) return CT_INVALID; // We can't refit the vehicle to carry the cargo we want
|
||||
|
||||
if (!VerifyAutoreplaceRefitForOrders(v, engine_type)) return CT_INVALID; // Some refit orders loose their effect
|
||||
if (!VerifyAutoreplaceRefitForOrders(v, engine_type)) return CT_INVALID; // Some refit orders lose their effect
|
||||
|
||||
/* Do we have to refit the vehicle, or is it already carrying the right cargo? */
|
||||
uint16 *default_capacity = GetCapacityOfArticulatedParts(engine_type, v->type);
|
||||
|
@ -112,7 +112,7 @@ void NetworkUDPSocketHandler::ReceivePackets()
|
||||
client_len = sizeof(client_addr);
|
||||
|
||||
/* Try to receive anything */
|
||||
SetNonBlocking(this->sock); // Some OSes seem to loose the non-blocking status of the socket
|
||||
SetNonBlocking(this->sock); // Some OSes seem to lose the non-blocking status of the socket
|
||||
nbytes = recvfrom(this->sock, (char*)p.buffer, packet_len, 0, (struct sockaddr *)&client_addr, &client_len);
|
||||
|
||||
/* We got some bytes for the base header of the packet. */
|
||||
|
@ -5737,7 +5737,7 @@ static void FinaliseIndustriesArray()
|
||||
|
||||
if (indsp->station_name != STR_NULL) {
|
||||
/* STR_NULL (0) can be set by grf. It has a meaning regarding assignation of the
|
||||
* station's name. Don't wont to loose the value, therefor, do not process. */
|
||||
* station's name. Don't want to lose the value, therefore, do not process. */
|
||||
strid = GetGRFStringID(indsp->grf_prop.grffile->grfid, indsp->station_name);
|
||||
if (strid != STR_UNDEFINED) indsp->station_name = strid;
|
||||
}
|
||||
|
@ -1198,7 +1198,7 @@ CommandCost CmdOrderRefit(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
|
||||
/**
|
||||
*
|
||||
* Backup a vehicle order-list, so you can replace a vehicle
|
||||
* without loosing the order-list
|
||||
* without losing the order-list
|
||||
*
|
||||
*/
|
||||
void BackupVehicleOrders(const Vehicle *v, BackuppedOrders *bak)
|
||||
|
@ -1061,7 +1061,7 @@ static int32 CheckTownLayout(int32 p1)
|
||||
|
||||
/** Conversion callback for _gameopt_settings_game.landscape
|
||||
* It converts (or try) between old values and the new ones,
|
||||
* without loosing initial setting of the user
|
||||
* without losing initial setting of the user
|
||||
* @param value that was read from config file
|
||||
* @return the "hopefully" converted value
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user