From 6a7dedc09f1a4b72077e0012bf0499a0005973d6 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sat, 28 Apr 2018 15:15:23 +0200 Subject: [PATCH] q3map2: fix prt loading for vis computation when using -prtfile --- tools/quake3/q3map2/vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/quake3/q3map2/vis.c b/tools/quake3/q3map2/vis.c index f5f3c348..73a22c8a 100644 --- a/tools/quake3/q3map2/vis.c +++ b/tools/quake3/q3map2/vis.c @@ -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 ) { -- 2.39.2