From 155ab33c1779658923187308eb53e2842daabace Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 9 Apr 2021 14:37:22 +0800 Subject: [PATCH] 1 --- server/gameserver/constant.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index c66521c..b72db83 100755 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -437,7 +437,11 @@ const int ADPLAY_BUFFID = 1006; const int FIXED_OBJECT_MAXID = 20140; -const int MAX_ROOM_IDX = 2018; +#ifdef DEBUG +const int MAX_ROOM_IDX = 100; +#else +const int MAX_ROOM_IDX = 1024; +#endif const int VIEW_RANGE = 512;