vpk loading/models
[csRadar.git] / vfilesys.h
index 2f33f8312e09809b118f1055197ab0fa784d5cf4..5206d57c4bf5af76829d9982838c1f28e5bd73a8 100644 (file)
@@ -68,7 +68,7 @@ void fs_set_gameinfo( const char *path )
                strcpy( pack_path, fs->searchpaths[i] );
                strcat( pack_path, "pak01_dir.vpk" );
        
-               if( (fs->vpk = (VPKHeader *)csr_asset_read( path )) )
+               if( (fs->vpk = (VPKHeader *)csr_asset_read( pack_path )) )
                {
                        break;
                }