Updated systems handling

This commit is contained in:
2025-02-08 22:32:21 +03:00
parent 7518a6a360
commit 2780fd300a
31 changed files with 1172 additions and 539 deletions

View File

@@ -10,6 +10,8 @@
#include "road_processing.h"
#include "road_debug.h"
#include "buildings_data.h"
#include "base_data.h"
#include "npc/npc.h"
#include "stream.h"
#define data() (BuildingsData::get_singleton())
@@ -455,6 +457,10 @@ StreamWorld::StreamWorld()
map_it++;
}
view_distance = config.get_value("world", "view_distance");
NPC *npc = NPC::get_singleton();
if (!npc) {
assert(false);
}
initialized = true;
}
void StreamWorld::cleanup()