From 63f3a6cb28e090b0bf846eb660271b43c32b5617 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Sun, 2 Sep 2018 22:22:19 -0400 Subject: [PATCH] relocation --- devNotes/VersionChangeLog-Premod+LoliMod.txt | 3 +++ src/init/storyInit.tw | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index 93e97ce0f7f..d5e916a66bd 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -4,6 +4,9 @@ 9/02/2018 + 16 + -fixes + 15 -added chemical castration -newly grown testicles and ovaries may now replace existing ones (currently only used to replace sterilized balls) diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 8e22f88799f..4d6644c3888 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -90,13 +90,6 @@ You should have received a copy of the GNU General Public License along with thi <</if>> <</if>> <</for>> - <<if $PC.pregSource > 0>> - <<set $PC.pregSource += 1200000>> - <<set _getFather = $slaveIndices[$PC.pregSource]>> - <<if ndef _getFather>> - <<set $PC.pregSource = 0>> - <</if>> - <</if>> <<set $genePool = ngUpdateGenePool($genePool)>> /* <<for $i = 0; $i < $genePool.length; $i++>> @@ -422,6 +415,13 @@ You should have received a copy of the GNU General Public License along with thi <<elseif $PC.father < 0>> <<set $PC.father -= 1200000>> <</if>> + <<if $PC.pregSource > 0>> + <<set $PC.pregSource += 1200000>> + <<set _getFather = $slaveIndices[$PC.pregSource]>> + <<if ndef _getFather>> + <<set $PC.pregSource = 0>> + <</if>> + <</if>> <<else>> <<initPC>> <<set $cheater = 0>> -- GitLab