More problems... This code seems to crash:
// Garage 1 Units
TethysGame::CreateUnit(Unit1, mapPanther, LOCATION(280, 143), i, mapThorsHammer, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(0, 280, 143);
TethysGame::CreateUnit(Unit1, mapPanther, LOCATION(280, 143), i, mapAcidCloud, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(1, 280, 143);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(280, 143), i, mapEMP, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(2, 280, 143);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(280, 143), i, mapEMP, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(3, 280, 143);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(280, 143), i, mapEMP, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(4, 280, 143);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(280, 143), i, mapRailGun, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(5, 280, 143);
// Garage 2 Units
TethysGame::CreateUnit(Unit1, mapPanther, LOCATION(287, 131), i, mapLaser, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(0, 287, 131);
TethysGame::CreateUnit(Unit1, mapPanther, LOCATION(287, 131), i, mapEMP, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(1, 287, 131);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(287, 131), i, mapRailGun, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(2, 287, 131);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(287, 131), i, mapLaser, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(3, 287, 131);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(287, 131), i, mapLaser, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(4, 287, 131);
TethysGame::CreateUnit(Unit1, mapLynx, LOCATION(287, 131), i, mapStarflare, 0);
Unit1.DoSetLights(1);
Unit1.PutInGarage(5, 287, 131);
I can't figure out why this keeps crashing. I pretty much copied/pasted code that worked and edited the locations, so by all accounts it should... (Yes, there are Garages at those locations.)