diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index c66521cc..b72db83f 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;