mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 15:28:11 -05:00
Implement ZoneLoading in ZoneLoading component class
This commit is contained in:
@ -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