]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Merge branch 'q3map2game' into 'master'
authorMario <zacjardine@y7mail.com>
Sun, 29 Apr 2018 11:22:20 +0000 (11:22 +0000)
committerMario <zacjardine@y7mail.com>
Sun, 29 Apr 2018 11:22:20 +0000 (11:22 +0000)
import some q3map2 game options from gtkradiant tree

See merge request xonotic/netradiant!87

tools/quake3/q3map2/vis.c

index f5f3c348b40f0ab407500fe3fef60c983b6c1262..73a22c8a77bf398ab7e36629c750bac25fdd762b 100644 (file)
@@ -1184,9 +1184,9 @@ int VisMain( int argc, char **argv ){
                sprintf( portalFilePath, "%s%s", inbase, ExpandArg( argv[ i ] ) );
                StripExtension( portalFilePath );
                strcat( portalFilePath, ".prt" );
-               Sys_Printf( "Loading %s\n", portalFilePath );
-               LoadPortals( portalFilePath );
        }
+       Sys_Printf( "Loading %s\n", portalFilePath );
+       LoadPortals( portalFilePath );
 
        /* ydnar: exit if no portals, hence no vis */
        if ( numportals == 0 ) {