X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=tools%2Fquake3%2Fq3map2%2Fexportents.c;h=50eed8978c66cc088820d73a7b4e1b319f5b226e;hb=2f3b74eff8ba0ca83d3f7d14fe11f93483d22c89;hp=b123660843acfc4cdfc7a962bf5d96c6bdae2cbc;hpb=e744bb6dadcd57fff460b7e6409ecd61bfe272c7;p=xonotic%2Fnetradiant.git diff --git a/tools/quake3/q3map2/exportents.c b/tools/quake3/q3map2/exportents.c index b1236608..50eed897 100644 --- a/tools/quake3/q3map2/exportents.c +++ b/tools/quake3/q3map2/exportents.c @@ -90,7 +90,7 @@ void ExportEntities( void ){ int ExportEntitiesMain( int argc, char **argv ){ /* arg checking */ - if ( argc < 1 ) { + if ( argc < 2 ) { Sys_Printf( "Usage: q3map -exportents [-v] \n" ); return 0; } @@ -109,4 +109,4 @@ int ExportEntitiesMain( int argc, char **argv ){ /* return to sender */ return 0; -} \ No newline at end of file +}