From 692fff36ed7c9ebf7b0e6edb84c3ccd0cbf723da Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 5 Sep 2012 19:23:13 +0000 Subject: [PATCH] Fix: commented out a code section that altered morale events depending on our current height git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5555 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Morale.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Tactical/Morale.cpp b/Tactical/Morale.cpp index 02b4ca399..073cd8371 100644 --- a/Tactical/Morale.cpp +++ b/Tactical/Morale.cpp @@ -550,14 +550,15 @@ void UpdateSoldierMorale( SOLDIERTYPE * pSoldier, INT8 bMoraleEvent ) } } - if (pSoldier->pathing.bLevel == 1) + // Flugente: what the heck? why is morale lowered or increased depending on our height? This doesn't make any sense. AT ALL. + /*if (pSoldier->pathing.bLevel == 1) { bMoraleMod--; } else if (pSoldier->pathing.bLevel > 5) { bMoraleMod++; - } + }*/ if (bMoraleMod > 0) {