From 7fb55752fa0201e564ae20b76ec13a522eed07d7 Mon Sep 17 00:00:00 2001 From: rftrdev <102184004+rftrdev@users.noreply.github.com> Date: Wed, 16 Nov 2022 23:28:24 -0800 Subject: [PATCH] Fix IMPs having 0 need to sleep (#26) --- Laptop/IMP Compile Character.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Laptop/IMP Compile Character.cpp b/Laptop/IMP Compile Character.cpp index ee246952..808c03e9 100644 --- a/Laptop/IMP Compile Character.cpp +++ b/Laptop/IMP Compile Character.cpp @@ -35,6 +35,7 @@ // how many times should a 'die' be rolled for skills of the same type? #define HOW_MANY_ROLLS_FOR_SAME_SKILL_CHECK 20 +#define IMP_NEED_FOR_SLEEP 7 INT32 AttitudeList[ ATTITUDE_LIST_SIZE ]; INT32 iLastElementInAttitudeList = 0; @@ -191,6 +192,7 @@ void CreateACharacterFromPlayerEnteredStats( void ) gMercProfiles[LaptopSaveInfo.iIMPIndex].usVoiceIndex = iSelectedIMPVoiceSet; gMercProfiles[LaptopSaveInfo.iIMPIndex].Type = PROFILETYPE_IMP; + gMercProfiles[LaptopSaveInfo.iIMPIndex].ubNeedForSleep = IMP_NEED_FOR_SLEEP; // WDS: Advanced start //gMercProfiles[ LaptopSaveInfo.iIMPIndex ].bExpLevel = gGameExternalOptions.ubIMPStartingLevel;