mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fix biome-specific mappreviews in 7f602037ba for zipped mods, refs #4962.
Add TextureExists to avoid needless redundant hardcoding of the
filenames.
Remove mapBiome.Preview from gamedescription.js, obsolete following
8cde469501.
Differential Revision: https://code.wildfiregames.com/D1583
Accepted By: Vladislav
This was SVN commit r21859.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2013 Wildfire Games.
|
||||
/* Copyright (C) 2018 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -109,7 +109,7 @@ bool CCacheLoader::CanUseArchiveCache(const VfsPath& sourcePath, const VfsPath&
|
||||
return true;
|
||||
}
|
||||
|
||||
VfsPath CCacheLoader::ArchiveCachePath(const VfsPath& sourcePath)
|
||||
VfsPath CCacheLoader::ArchiveCachePath(const VfsPath& sourcePath) const
|
||||
{
|
||||
return sourcePath.ChangeExtension(sourcePath.Extension().string() + L".cached" + m_FileExtension);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user