projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
225d4bb
)
q3map2: fix prt loading for vis computation when using -prtfile
89/head
author
Thomas Debesse <dev@illwieckz.net>
Sat, 28 Apr 2018 13:15:23 +0000
(15:15 +0200)
committer
Thomas Debesse <dev@illwieckz.net>
Sat, 28 Apr 2018 13:22:24 +0000
(15:22 +0200)
tools/quake3/q3map2/vis.c
patch
|
blob
|
history
diff --git
a/tools/quake3/q3map2/vis.c
b/tools/quake3/q3map2/vis.c
index f5f3c348b40f0ab407500fe3fef60c983b6c1262..73a22c8a77bf398ab7e36629c750bac25fdd762b 100644
(file)
--- 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 ) {