From: divverent Date: Thu, 7 May 2009 11:12:53 +0000 (+0000) Subject: consistently handle the aliases to _clone X-Git-Tag: svn-r421~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=37f408f64396ffd54e36a40d26f1c3c63aff2b35;p=xonotic%2Fnetradiant.git consistently handle the aliases to _clone git-svn-id: svn://svn.icculus.org/netradiant/trunk@363 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/tools/quake3/q3map2/bsp.c b/tools/quake3/q3map2/bsp.c index a5550975..7db15674 100644 --- a/tools/quake3/q3map2/bsp.c +++ b/tools/quake3/q3map2/bsp.c @@ -137,7 +137,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;