1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Fix avoidance calculation on NO_THREADS build

This commit is contained in:
smix8
2022-10-03 11:51:17 +02:00
parent cbde08d452
commit f15cb16b14
5 changed files with 14 additions and 0 deletions

View File

@@ -82,8 +82,10 @@ class NavMap : public NavRid {
/// Change the id each time the map is updated.
uint32_t map_update_id = 0;
#ifndef NO_THREADS
/// Pooled threads for computing steps
ThreadWorkPool step_work_pool;
#endif // NO_THREADS
public:
NavMap();