Quick fix for NODRAWINGDISTANCE=1 hanging fix

This commit is contained in:
IvanDSM 2020-05-20 22:39:07 -03:00
parent 2714708ca9
commit a6f7cefe96
1 changed files with 5 additions and 0 deletions

View File

@ -21,7 +21,12 @@ struct SpawnInfo;
/** /**
* The maximum number of objects that can be loaded at once. * The maximum number of objects that can be loaded at once.
*/ */
#ifdef NODRAWINGDISTANCE
#define OBJECT_POOL_CAPACITY 960
#else
#define OBJECT_POOL_CAPACITY 240 #define OBJECT_POOL_CAPACITY 240
#endif
/** /**
* Every object is categorized into an object list, which controls the order * Every object is categorized into an object list, which controls the order