From a3586cd18d5a6182a578dc08a6dbc23e16df4c14 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 11 Jan 2014 14:08:02 -0500 Subject: Add maximum recursion depth to read_json_value --- src/script/common/c_content.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script/common/c_content.h') diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index c2d84ac11..163e803db 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -152,7 +152,8 @@ bool push_json_value (lua_State *L, int nullindex); void read_json_value (lua_State *L, Json::Value &root, - int index); + int index, + u8 recursion = 0); extern struct EnumString es_TileAnimationType[]; -- cgit v1.2.3