diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_instance.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 693d76c3a..4a0924995 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -460,9 +460,7 @@ static const SaveLoad _ai_byte[] = { SLE_END() }; -enum { - AISAVE_MAX_DEPTH = 25, ///< The maximum recursive depth for items stored in the savegame. -}; +static const uint AISAVE_MAX_DEPTH = 25; ///< The maximum recursive depth for items stored in the savegame. /* static */ bool AIInstance::SaveObject(HSQUIRRELVM vm, SQInteger index, int max_depth, bool test) { |