diff --git a/sc2/src/sc2code/libs/input/sdl/input.c b/sc2/src/sc2code/libs/input/sdl/input.c index 08776e008..9e691e353 100644 --- a/sc2/src/sc2code/libs/input/sdl/input.c +++ b/sc2/src/sc2code/libs/input/sdl/input.c @@ -594,7 +594,6 @@ _get_serial_keyboard_state (INPUT_REF ref, INPUT_STATE InputState) // I hope these are defined somewhere... { Uint16 key; - extern Uint16 GetUNICODEKey (void); if ((key = GetUNICODEKey ()) == '\r') key = '\n'; diff --git a/sc2/src/sc2code/outfit.c b/sc2/src/sc2code/outfit.c index 87521a9f4..02526bf56 100644 --- a/sc2/src/sc2code/outfit.c +++ b/sc2/src/sc2code/outfit.c @@ -314,7 +314,7 @@ DoInstallModule (INPUT_STATE InputState, PMENU_STATE pMS) GLOBAL (ModuleCost[old_slot_piece]) * MODULE_COST_SCALE); - if (WRAP_VAL (pMS->CurState, EMPTY_SLOT + 3) == PLANET_LANDER) + if (pMS->CurState == PLANET_LANDER || pMS->CurState == EMPTY_SLOT + 3) DisplayLanders (pMS); else {