Get rid of some compilation warnings, from steve@blckknght.org.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@508 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user