diff --git a/redalert/mapedit.cpp b/redalert/mapedit.cpp index 4a12e09e..59fa8d92 100644 --- a/redalert/mapedit.cpp +++ b/redalert/mapedit.cpp @@ -772,10 +772,14 @@ void MapEditClass::AI(KeyNumType& input, int x, int y) input = KN_NONE; break; +#if (KN_HOME | KN_SHIFT_BIT) != KN_HOME /* ** SHIFT-HOME: set new Home Cell position */ case ((int)KN_HOME | (int)KN_SHIFT_BIT): +#else + case ((int)KN_HOME | (int)KN_CTRL_BIT): +#endif if (CurrentCell != 0) { /* diff --git a/tiberiandawn/mapedit.cpp b/tiberiandawn/mapedit.cpp index a46334fa..04708fb3 100644 --- a/tiberiandawn/mapedit.cpp +++ b/tiberiandawn/mapedit.cpp @@ -858,10 +858,14 @@ void MapEditClass::AI(KeyNumType& input, int x, int y) input = KN_NONE; break; +#if (KN_HOME | KN_SHIFT_BIT) != KN_HOME /*--------------------------------------------------------------------- SHIFT-HOME: set new Home Cell position ---------------------------------------------------------------------*/ case ((int)KN_HOME | (int)KN_SHIFT_BIT): +#else + case ((int)KN_HOME | (int)KN_CTRL_BIT): +#endif /* ** Unflag the old Home Cell, if there are no other waypoints ** pointing to it