diff --git a/sc2/src/sc2code/master.c b/sc2/src/sc2code/master.c index 7f5198b0c..a8c5d7455 100644 --- a/sc2/src/sc2code/master.c +++ b/sc2/src/sc2code/master.c @@ -72,6 +72,9 @@ if (master_q.head != 0) UnlockStarShip (&master_q, hBuiltShip); RemoveQueue (&master_q, hBuiltShip); + + // Insert the ship in the master queue in the right location + // to keep the list sorted on the name of the race. for (hStarShip = GetHeadLink (&master_q); hStarShip; hStarShip = hNextShip) { diff --git a/sc2/src/sc2code/starcon.c b/sc2/src/sc2code/starcon.c index 0cd3e8f0d..ff198df61 100644 --- a/sc2/src/sc2code/starcon.c +++ b/sc2/src/sc2code/starcon.c @@ -145,7 +145,7 @@ while (--ac > 0) void (*saveDebugHook) (void); saveDebugHook = debugHook; debugHook = NULL; - // No further debugHook callse unless the called + // No further debugHook calls unless the called // function resets debugHook. (*saveDebugHook) (); continue;