Permalink
Browse files

Fix engine-side listmaps

  • Loading branch information...
mbasaglia committed Feb 16, 2016
1 parent 081a72c commit 00d37aa1de44831673944f1447d42c8b259efe94
Showing with 1 addition and 2 deletions.
  1. +1 −2 daemon/src/engine/qcommon/common.cpp
@@ -1354,10 +1354,9 @@ void Com_ListMaps_f()
for ( const auto& pak : FS::PakPath::ListFiles("maps", ignore) )
{
volatile auto foo = pak;
if ( Str::IsSuffix(".bsp", pak) )
{
maps.push_back( pak );
maps.push_back( pak.substr(0, pak.size() - 4) );
}
}

0 comments on commit 00d37aa

Please sign in to comment.