From f71a462445c54b56c0d4cda31810fec5a96b08d1 Mon Sep 17 00:00:00 2001 From: Shadooow Date: Sat, 12 Jun 2021 12:48:56 +0000 Subject: [PATCH] fix for likes and hates of IMPs characters (not sure it actually is handled for IMP characters, but the previous fix make it to be Barry instead of nobody) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9076 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Laptop/IMP Compile Character.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Laptop/IMP Compile Character.cpp b/Laptop/IMP Compile Character.cpp index 50e684f11..ee2469523 100644 --- a/Laptop/IMP Compile Character.cpp +++ b/Laptop/IMP Compile Character.cpp @@ -212,6 +212,18 @@ void CreateACharacterFromPlayerEnteredStats( void ) gMercProfiles[LaptopSaveInfo.iIMPIndex].usApproachFactor[3] = 100; gMercProfiles[LaptopSaveInfo.iIMPIndex].uiBlinkFrequency = 3000; gMercProfiles[LaptopSaveInfo.iIMPIndex].uiExpressionFrequency = 2000; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bBuddy[0] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bBuddy[1] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bBuddy[2] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bBuddy[3] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bBuddy[4] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bLearnToLike = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bHated[0] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bHated[1] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bHated[2] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bHated[3] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bHated[4] = 255; + gMercProfiles[LaptopSaveInfo.iIMPIndex].bLearnToHate = 255; } void CreatePlayerAttitude( void )