- Fix: machines have opinions

- Fix: machines get diseases
- Fix: disease assignment menu box accessible if feature is off

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8093 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-03-05 19:51:39 +00:00
parent d23f9313bd
commit 7e7476a4ea
3 changed files with 19 additions and 19 deletions
+5 -1
View File
@@ -1299,7 +1299,11 @@ INT8 GetDynamicOpinion( UINT8 usProfileA, UINT8 usProfileB, UINT8 usEvent )
{
INT32 opinion = 0;
if ( usProfileA == NO_PROFILE || usProfileA == NO_PROFILE )
if ( usProfileA == NO_PROFILE || usProfileB == NO_PROFILE )
return opinion;
// machines aren't people
if ( gMercProfiles[usProfileA].ubBodyType == ROBOTNOWEAPON || gMercProfiles[usProfileB].ubBodyType == ROBOTNOWEAPON )
return opinion;
if ( usEvent >= OPINIONEVENT_MAX )