All pastes #449589 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-20 09:09 UTC
rendered paste body
Index: src/client/cl_basemanagement.c
===================================================================
--- src/client/cl_basemanagement.c	(revision 7734)
+++ src/client/cl_basemanagement.c	(working copy)
@@ -551,6 +551,9 @@
 			base->buildingCurrent = building;
 			/* fake a click to basemap */
 			B_SetBuildingByClick((int) building->pos[0], (int) building->pos[1]);
+			/* We want two Living Quarters in first base. at position 3 1 */
+			if (i == B_QUARTERS)
+			   B_SetBuildingByClick(3, 1);
 			B_UpdateBaseBuildingStatus(building, base, B_STATUS_WORKING);
 			/* Now buy two first aircrafts if it is our first base. */
 			if (gd.numBases == 1 && building->buildingType == B_HANGAR)