mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-12-05 22:48:40 +00:00
Implement ZoneLoading in ZoneLoading component class
This commit is contained in:
1 parent
36cc8d3065
commit
d662e5dcfa
3 files changed
+43
-4
No files matched your search
@@ -79,7 +79,8 @@ int main(const int argc, const char** argv)
|
||||
{
|
||||
const std::string& zonePath = arguments[argIndex];
|
||||
|
||||
if(!ZoneLoading::LoadZone(zonePath))
|
||||
Zone* zone = ZoneLoading::LoadZone(zonePath);
|
||||
if(zone == nullptr)
|
||||
{
|
||||
printf("Failed to load zone '%s'.\n", zonePath.c_str());
|
||||
return 1;
|
||||
|
||||
Reference in new issue
Block a user