From: Rudolf Polzer Date: Wed, 23 Feb 2011 09:56:42 +0000 (+0100) Subject: also support _ins or _instance key as alias for _clone X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cc086375071b30edb6bbbc7ed552c906cd5f9e73;p=xonotic%2Fnetradiant.git also support _ins or _instance key as alias for _clone --- diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index aeaf7363..3a16b0c2 100644 --- a/tools/quake3/q3map2/bsp.c +++ b/tools/quake3/q3map2/bsp.c @@ -138,7 +138,11 @@ static void SetCloneModelNumbers( void ) continue; /* is this a clone? */ - value = ValueForKey( &entities[ i ], "_clone" ); + value = ValueForKey( &entities[ i ], "_ins" ); + if( value[ 0 ] == '\0' ) + value = ValueForKey( &entities[ i ], "_instance" ); + if( value[ 0 ] == '\0' ) + value = ValueForKey( &entities[ i ], "_clone" ); if( value[ 0 ] != '\0' ) continue;