mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-26 05:05:41 +00:00
The linker should continue with building the fastfile if the asset list is empty and the map type isn't NONE.
This commit is contained in:
1 parent
3948feaaf8
commit
b7d629d26b
1 file changed
+1
-2
@@ -1,5 +1,4 @@
|
||||
#include "Linker.h"
|
||||
|
||||
#include "LinkerArgs.h"
|
||||
#include "LinkerPaths.h"
|
||||
#include "ObjContainer/SoundBank/SoundBankWriter.h"
|
||||
@@ -330,7 +329,7 @@ class LinkerImpl final : public Linker
|
||||
|
||||
PathGameContext gameContext(paths, projectName, zoneDefinition->m_game);
|
||||
|
||||
if (!zoneDefinition->m_assets.empty())
|
||||
if (!zoneDefinition->m_assets.empty() || zoneDefinition->m_map_type != ZoneDefinitionMapType::NONE)
|
||||
{
|
||||
if (!BuildFastFile(paths, projectName, targetName, *zoneDefinition))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user