Replaced NULL ptr with dummy kf_NOOP function so we don't crash on startup...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2756 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
9a06997527
commit
b7daedee14
|
@ -90,6 +90,8 @@ UDWORD numActiveMappings;
|
|||
static KEY_CODE lastMetaKey,lastSubKey;
|
||||
static BOOL bKeyProcessing = TRUE;
|
||||
|
||||
static void kf_NOOP(void) {}
|
||||
|
||||
// ----------------------------------------------------------------------------------
|
||||
// Adding a mapped function ? add a save pointer! Thank AlexL.
|
||||
// don't bugger around with the order either. new ones go at the end! DEBUG in debug section..
|
||||
|
@ -225,7 +227,7 @@ _keymapsave keyMapSaveTable[] =
|
|||
kf_AssignGrouping_0,
|
||||
kf_SelectGrouping_0,
|
||||
kf_SelectCommander_0,
|
||||
NULL, // unused
|
||||
kf_NOOP, // unused
|
||||
kf_ToggleFogColour,
|
||||
kf_AddMissionOffWorld,
|
||||
kf_KillSelected,
|
||||
|
|
Loading…
Reference in New Issue