mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Merged Multi Player Project into main branch
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2144 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -20,8 +20,11 @@
|
||||
#include "Campaign.h"
|
||||
#include "mapscreen.h"
|
||||
#include "Soldier macros.h"
|
||||
#include "Event Pump.h"
|
||||
#endif
|
||||
|
||||
#include "connect.h"
|
||||
#include "fresh_header.h"
|
||||
#define MORALE_MOD_MAX 50 // morale *mod* range is -50 to 50, if you change this, check the decay formulas!
|
||||
|
||||
#define DRUG_EFFECT_MORALE_MOD 150
|
||||
@@ -322,6 +325,11 @@ void UpdateSoldierMorale( SOLDIERTYPE * pSoldier, UINT8 ubType, INT8 bMoraleMod
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if(DISABLE_MORALE && is_networked)
|
||||
{
|
||||
return;
|
||||
}//hayden
|
||||
|
||||
pProfile = &(gMercProfiles[ pSoldier->ubProfile ]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user