From 448c82e91aaec182b4bd06451fcacdc5da921838 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 19 Jan 2006 23:10:30 +0000 Subject: [PATCH] Some comments. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2204 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/master.c | 3 +++ sc2/src/sc2code/starcon.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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;