mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New background property: <animal_friend> will refuse to attack animals, unless attacked by that animal.
New background property: <civgroup_loyal> will refuse to attack neutral members of the same civilian group. Fixed array bound in GetTileSetIndexVector(). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8731 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -495,7 +495,7 @@ void AssignBackgroundHelpText( UINT16 ubNumber, MOUSE_REGION* pMouseregion )
|
||||
UINT8 strused = 0;
|
||||
for ( UINT8 i = 0; i < BG_MAX; ++i)
|
||||
{
|
||||
if ( BG_DISLIKEBG == i && zBackground[ubNumber].value[i] )
|
||||
if (BG_DISLIKEBG == i && zBackground[ubNumber].value[i])
|
||||
{
|
||||
swprintf( atStr, szBackgroundText_Value[strused] );
|
||||
wcscat( apStr, atStr );
|
||||
|
||||
Reference in New Issue
Block a user