You've already forked godot
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user