Various fixes to allow compiling negine with custom build configurations

This commit is contained in:
Wojtek Figat
2022-07-26 23:06:03 +02:00
parent 8beb732cb9
commit ff1fba403d
18 changed files with 41 additions and 39 deletions

View File

@@ -215,7 +215,7 @@ void NavigationSettings::Apply()
if (area.Id < DT_MAX_AREAS)
{
NavMeshRuntime::NavAreasCosts[area.Id] = area.Cost;
#if USE_EDITOR
#if COMPILE_WITH_DEBUG_DRAW
NavMeshRuntime::NavAreasColors[area.Id] = area.Color;
#endif
}