mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
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
This commit is contained in:
+3
-2
@@ -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--;
|
bMoraleMod--;
|
||||||
}
|
}
|
||||||
else if (pSoldier->pathing.bLevel > 5)
|
else if (pSoldier->pathing.bLevel > 5)
|
||||||
{
|
{
|
||||||
bMoraleMod++;
|
bMoraleMod++;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (bMoraleMod > 0)
|
if (bMoraleMod > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user