mirror of https://github.com/OpenTTD/OpenTTD
Fix: Some spelling errors in printed messages
parent
a6b18f0d92
commit
fa87212a76
|
@ -53,7 +53,7 @@ struct Backup {
|
||||||
{
|
{
|
||||||
/* We cannot assert here, as missing restoration is 'normal' when exceptions are thrown.
|
/* We cannot assert here, as missing restoration is 'normal' when exceptions are thrown.
|
||||||
* Exceptions are especially used to abort world generation. */
|
* Exceptions are especially used to abort world generation. */
|
||||||
DEBUG(misc, 0, "%s:%d: Backupped value was not restored!", this->file, this->line);
|
DEBUG(misc, 0, "%s:%d: Backed-up value was not restored!", this->file, this->line);
|
||||||
this->Restore();
|
this->Restore();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1115,7 +1115,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::Receive_CLIENT_COMMAND(Packet
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((GetCommandFlags(cp.cmd) & CMD_SPECTATOR) == 0 && !Company::IsValidID(cp.company) && ci->client_id != CLIENT_ID_SERVER) {
|
if ((GetCommandFlags(cp.cmd) & CMD_SPECTATOR) == 0 && !Company::IsValidID(cp.company) && ci->client_id != CLIENT_ID_SERVER) {
|
||||||
IConsolePrintF(CC_ERROR, "WARNING: spectator issueing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
|
IConsolePrintF(CC_ERROR, "WARNING: spectator issuing command from client %d (IP: %s), kicking...", ci->client_id, this->GetClientIP());
|
||||||
return this->SendError(NETWORK_ERROR_KICKED);
|
return this->SendError(NETWORK_ERROR_KICKED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ bool VideoDriver_SDL::CreateMainSurface(uint w, uint h)
|
||||||
want_hwpalette = _use_hwpalette;
|
want_hwpalette = _use_hwpalette;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (want_hwpalette) DEBUG(driver, 1, "SDL: requesting hardware palete");
|
if (want_hwpalette) DEBUG(driver, 1, "SDL: requesting hardware palette");
|
||||||
|
|
||||||
/* Free any previously allocated shadow surface */
|
/* Free any previously allocated shadow surface */
|
||||||
if (_sdl_screen != NULL && _sdl_screen != _sdl_realscreen) SDL_CALL SDL_FreeSurface(_sdl_screen);
|
if (_sdl_screen != NULL && _sdl_screen != _sdl_realscreen) SDL_CALL SDL_FreeSurface(_sdl_screen);
|
||||||
|
|
Loading…
Reference in New Issue