Increase MAX_HOOKED_BEHAVIORS to 1024 (#630)

So far in my testing, not seeing any negative ramifications whatsoever
This commit is contained in:
occamsaturn 2025-01-30 13:58:48 -08:00 committed by GitHub
parent 42e0051dda
commit 20248881c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1297,7 +1297,7 @@ struct LuaHookedBehavior {
struct Mod* mod; struct Mod* mod;
}; };
#define MAX_HOOKED_BEHAVIORS 256 #define MAX_HOOKED_BEHAVIORS 1024
static struct LuaHookedBehavior sHookedBehaviors[MAX_HOOKED_BEHAVIORS] = { 0 }; static struct LuaHookedBehavior sHookedBehaviors[MAX_HOOKED_BEHAVIORS] = { 0 };
static int sHookedBehaviorsCount = 0; static int sHookedBehaviorsCount = 0;