function MeleeStartingUnitsForPlayer takes race whichRace, player whichPlayer, location loc, boolean doHeroes returns nothing
// Create initial race-specific starting units
if (whichRace == RACE_HUMAN) then
call MeleeStartingUnitsHuman(whichPlayer, loc, doHeroes, false, false)
elseif (whichRace == RACE_ORC) then
call MeleeStartingUnitsOrc(whichPlayer, loc, doHeroes, false, false)
elseif (whichRace == RACE_UNDEAD) then
call MeleeStartingUnitsUndead(whichPlayer, loc, doHeroes, false, false)
elseif (whichRace == RACE_NIGHTELF) then
call MeleeStartingUnitsNightElf(whichPlayer, loc, doHeroes, false, false)
else
// Unrecognized race - ignore the request.
endif
endfunction