From 1de3522f7c34533b032026ea7432f60e9d51f213 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 23 Apr 2017 15:18:51 -0400
Subject: [PATCH] Fixes.

---
 src/npc/removeActiveSlave.tw               | 2 +-
 src/uncategorized/longSlaveDescription.tw  | 2 +-
 src/uncategorized/pCitizensAndCivilians.tw | 2 +-
 src/uncategorized/pInvasion.tw             | 2 +-
 src/uncategorized/pUndergroundRailroad.tw  | 2 +-
 src/uncategorized/resMove.tw               | 2 +-
 src/uncategorized/resSale.tw               | 2 +-
 src/uncategorized/saRecruitGirls.tw        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/npc/removeActiveSlave.tw b/src/npc/removeActiveSlave.tw
index f260d496b94..de1b491d58e 100644
--- a/src/npc/removeActiveSlave.tw
+++ b/src/npc/removeActiveSlave.tw
@@ -2,7 +2,7 @@
 
 <<set _ID = $activeSlave.ID, _SL = $slaves.length>>
 
-<<if (def _i) && ($slaves[_i].ID == _ID)>>
+<<if (def _i) && (_i < _SL) && ($slaves[_i].ID == _ID)>>
 	<<set _x = _i>>
 <<else>>
 	<<for _x = 0; _x < _SL; _x++>>
diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw
index 891a60b79ec..1252508c3ac 100644
--- a/src/uncategorized/longSlaveDescription.tw
+++ b/src/uncategorized/longSlaveDescription.tw
@@ -2337,7 +2337,7 @@ Her scars make her look like she's in the right place.
 <<elseif $activeSlave.underArmHStyle == "hairless">>
 	$possessiveCap armpits are perfectly smooth and naturally hairless.
 <<elseif $activeSlave.underArmHStyle == "bald">>
-	$possessiveCap armpits no longer grow hair.
+	$possessiveCap armpits no longer grow hair, leaving them smooth and hairless.
 <<elseif ($activeSlave.underArmHStyle == "waxed")>>
   <<if ($activeSlave.assignment == "work in the dairy") && ($dairyRestraintsSetting > 1)>>
     $possessiveCap armpit hair has been removed to prevent chafing.
diff --git a/src/uncategorized/pCitizensAndCivilians.tw b/src/uncategorized/pCitizensAndCivilians.tw
index f1ab4fa9f8e..cca8e474cb6 100644
--- a/src/uncategorized/pCitizensAndCivilians.tw
+++ b/src/uncategorized/pCitizensAndCivilians.tw
@@ -27,7 +27,7 @@
 		her avatar takes off its reading glasses, straightens its suit jacket,
 	<<case "fairy" "pregnant fairy" "cherub" "imp">>
 		her avatar flies up to your face and waves her arms
-	<<csae "goddess">>
+	<<case "goddess">>
 		her avatar hefts up her gravid body, glowing brighter than usual to get your attention,
 	<<case "schoolgirl">>
 		her schoolgirl avatar bounces up and down for your attention
diff --git a/src/uncategorized/pInvasion.tw b/src/uncategorized/pInvasion.tw
index 665d1b0f83e..b4c628ac104 100644
--- a/src/uncategorized/pInvasion.tw
+++ b/src/uncategorized/pInvasion.tw
@@ -28,7 +28,7 @@ Sirens are blaring; there is a crump far above as $arcologies[0].name's defensiv
 		She zips around in the air, getting in close to fire a barrage of little balls of light
 	<<case "pregnant fairy">>
 		Striking a match almost half as long as she is, she happily skips along a line of fireworks and lights them as she goes. One by one they blast off and fly into the sky
-	<<csae "goddess">>
+	<<case "goddess">>
 		Her expression is one of affronted maternal protectiveness, and she's using outstretched hands to project beams of pure light
 	<<case "hypergoddess">>
 		Her expression is one of affronted maternal protectiveness, and she's using outstretched hands to project beams of pure light
diff --git a/src/uncategorized/pUndergroundRailroad.tw b/src/uncategorized/pUndergroundRailroad.tw
index 3c19146ec8d..92633cc4004 100644
--- a/src/uncategorized/pUndergroundRailroad.tw
+++ b/src/uncategorized/pUndergroundRailroad.tw
@@ -60,7 +60,7 @@ One fine day, as normal as any day surrounded by your slaves can be, you're sitt
 <<if $assistant > 0>>
 	flirtatiously, "What message, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Sir<<else>>Ma'am<</if>>?"
 	<<switch $assistantAppearance>>
-	<<csae "monstergirl">>
+	<<case "monstergirl">>
 		Her avatar's tentacle hair wiggles with incomprehension.
 	<<case "shemale">>
 		Her avatar looks frustrated, its hardon wilting.
diff --git a/src/uncategorized/resMove.tw b/src/uncategorized/resMove.tw
index 1ece18174ce..28f35272f43 100644
--- a/src/uncategorized/resMove.tw
+++ b/src/uncategorized/resMove.tw
@@ -137,7 +137,7 @@ as you suspected,
 			all those luscious, heavy tits," her avatar says, hefting one of her own.
 		<<case "loli">>
 			those tits!" her avatar says while cupping her flat chest.
-		<<csae "preggololi">>
+		<<case "preggololi">>
 			those tits!" her avatar says while cupping her barely there chest.
 		<<case "angel">>
 			those lovely breasts," her avatar says, blushing red. "I wouldn't be able to fly with them..."
diff --git a/src/uncategorized/resSale.tw b/src/uncategorized/resSale.tw
index 99ccd7e399e..aadac70c9e8 100644
--- a/src/uncategorized/resSale.tw
+++ b/src/uncategorized/resSale.tw
@@ -237,7 +237,7 @@ You pause for a moment, and she plunges on: "<<if $PC.title == 1>>Sir<<else>>Ma'
 			"And I love to fuck futas!" she exclaims, and then blushes furiously.
 		<<case "fairy" "pregnant fairy">>
 			"And I love to fuck futas!" she exclaims, flying circles around you.
-		<<csae "goddess" "hypergoddess">>
+		<<case "goddess" "hypergoddess">>
 			"And I love to fuck futas!" she exclaims, awestruck with anticipation.
 		<<case "loli" "cherub">>
 			"And I love to fuck futas!" she exclaims, then blushes beet red when she realizes what she said.
diff --git a/src/uncategorized/saRecruitGirls.tw b/src/uncategorized/saRecruitGirls.tw
index 5b711e02e15..f9953cbfe9c 100644
--- a/src/uncategorized/saRecruitGirls.tw
+++ b/src/uncategorized/saRecruitGirls.tw
@@ -500,7 +500,7 @@ She is able to smartly <<if $arcologies[0].FSPaternalist != "unset">>answer<<els
 		She makes sure to wear tight fitting clothes to show off the bulge of her dick and, most notably, the lack of testicles under it in all her photoshoots.
 	<<elseif ($slaves[$i].vaginalAccessory == "chastity belt" || $slaves[$i].dickAccessory == "chastity" || $slaves[$i].vaginalAccessory == "combined chastity" || $slaves[$i].dickAccessory == "combined chastity")>>
 		In all her public appearances, her choice of clothing is always crotchless, leaving her chastity gear as the only thing protecting her modesty.
-	<<elseif (($slaves[$i].ovaries == 0 && $slaves[$i].mpreg == 0) || $slaves[$i].preg < -1>>
+	<<elseif (($slaves[$i].ovaries == 0 && $slaves[$i].mpreg == 0) || $slaves[$i].preg < -1)>>
 		She frequently livestreams massive orgies involving herself at the center, making sure to always follow up with her negative pregnancy tests.
 	<<else>>
 		Her lack of commitment to sterilization and eugenics drive away potential listeners.
-- 
GitLab