mirror of https://github.com/OpenTTD/OpenTTD
Fix: empty undocumented branches
parent
bb9121dbd4
commit
ddaedaf32a
|
@ -155,6 +155,7 @@ bmno_full_transparency:
|
||||||
|
|
||||||
if ((bt_last == BT_NONE && effective_width & 1) || bt_last == BT_ODD) {
|
if ((bt_last == BT_NONE && effective_width & 1) || bt_last == BT_ODD) {
|
||||||
if (src->a == 0) {
|
if (src->a == 0) {
|
||||||
|
/* Complete transparency. */
|
||||||
} else if (src->a == 255) {
|
} else if (src->a == 255) {
|
||||||
*anim = *(const uint16*) src_mv;
|
*anim = *(const uint16*) src_mv;
|
||||||
*dst = (src_mv->m >= PALETTE_ANIM_START) ? AdjustBrightneSSE(LookupColourInPalette(src_mv->m), src_mv->v) : *src;
|
*dst = (src_mv->m >= PALETTE_ANIM_START) ? AdjustBrightneSSE(LookupColourInPalette(src_mv->m), src_mv->v) : *src;
|
||||||
|
|
|
@ -70,8 +70,7 @@ static void Load_GSDT()
|
||||||
}
|
}
|
||||||
|
|
||||||
GameConfig *config = GameConfig::GetConfig(GameConfig::SSS_FORCE_GAME);
|
GameConfig *config = GameConfig::GetConfig(GameConfig::SSS_FORCE_GAME);
|
||||||
if (_game_saveload_name.empty()) {
|
if (!_game_saveload_name.empty()) {
|
||||||
} else {
|
|
||||||
config->Change(_game_saveload_name.c_str(), _game_saveload_version, false, _game_saveload_is_random);
|
config->Change(_game_saveload_name.c_str(), _game_saveload_version, false, _game_saveload_is_random);
|
||||||
if (!config->HasScript()) {
|
if (!config->HasScript()) {
|
||||||
/* No version of the GameScript available that can load the data. Try to load the
|
/* No version of the GameScript available that can load the data. Try to load the
|
||||||
|
|
|
@ -457,7 +457,7 @@ void EmitGender(Buffer *buffer, char *buf, int value)
|
||||||
|
|
||||||
/* This is a {G 0 foo bar two} command.
|
/* This is a {G 0 foo bar two} command.
|
||||||
* If no relative number exists, default to +0 */
|
* If no relative number exists, default to +0 */
|
||||||
if (!ParseRelNum(&buf, &argidx, &offset)) {}
|
ParseRelNum(&buf, &argidx, &offset);
|
||||||
|
|
||||||
const CmdStruct *cmd = _cur_pcs.cmd[argidx];
|
const CmdStruct *cmd = _cur_pcs.cmd[argidx];
|
||||||
if (cmd == nullptr || (cmd->flags & C_GENDER) == 0) {
|
if (cmd == nullptr || (cmd->flags & C_GENDER) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue