diff --git a/Strategic/mapscreen.cpp b/Strategic/mapscreen.cpp index 8de209775..193c01eae 100644 --- a/Strategic/mapscreen.cpp +++ b/Strategic/mapscreen.cpp @@ -16586,6 +16586,14 @@ BOOLEAN MilitiaPlotStart( ) gMilitiaPath[groupid].sGroupid = -1; } + else + { + // otherwise, if this isn't a valid group, set the id to -1 nevertheless + if ( !pGroup ) + { + gMilitiaPath[groupid].sGroupid = -1; + } + } } if ( !found && gMilitiaPath[groupid].sGroupid < 0 )