mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
-skip the CompatibleFaceItem check if either item is Nothing. This will let us trim some lines from compatiblefaceitems.xml that are screwing up the xml-editor.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@705 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2017,6 +2017,11 @@ BOOLEAN CompatibleFaceItem( UINT16 usItem1, UINT16 usItem2 )
|
|||||||
{
|
{
|
||||||
INT32 iLoop = 0;
|
INT32 iLoop = 0;
|
||||||
|
|
||||||
|
//Madd: skip this function if either item is nothing
|
||||||
|
//this will let us trim some lines from compatiblefaceitems.xml
|
||||||
|
if ( usItem1 == NONE || usItem2 == NONE )
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
// look for the section of the array pertaining to this attachment...
|
// look for the section of the array pertaining to this attachment...
|
||||||
while( 1 )
|
while( 1 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user