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:
meep-eep
2002-12-30 23:17:46 +00:00
parent cbad7eec75
commit acbfe6b08f
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -594,7 +594,6 @@ _get_serial_keyboard_state (INPUT_REF ref, INPUT_STATE InputState)
// I hope these are defined somewhere... // I hope these are defined somewhere...
{ {
Uint16 key; Uint16 key;
extern Uint16 GetUNICODEKey (void);
if ((key = GetUNICODEKey ()) == '\r') if ((key = GetUNICODEKey ()) == '\r')
key = '\n'; key = '\n';
+1 -1
View File
@@ -314,7 +314,7 @@ DoInstallModule (INPUT_STATE InputState, PMENU_STATE pMS)
GLOBAL (ModuleCost[old_slot_piece]) GLOBAL (ModuleCost[old_slot_piece])
* MODULE_COST_SCALE); * 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); DisplayLanders (pMS);
else else
{ {