]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
also support _ins or _instance key as alias for _clone
authorRudolf Polzer <divverent@alientrap.org>
Wed, 23 Feb 2011 09:56:42 +0000 (10:56 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 23 Feb 2011 09:56:42 +0000 (10:56 +0100)
tools/quake3/q3map2/bsp.c

index aeaf73635c618d713f3e04fd87e105d2e482c17c..3a16b0c22f645d189623cdd0c5172de04c535822 100644 (file)
@@ -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;