1
This commit is contained in:
parent
677f462738
commit
4ce77a7e08
@ -310,7 +310,7 @@ int RoomMgr::AllocRoomIdx()
|
|||||||
if (current_room_idx_ < 0) {
|
if (current_room_idx_ < 0) {
|
||||||
current_room_idx_ = 0;
|
current_room_idx_ = 0;
|
||||||
}
|
}
|
||||||
if (current_room_idx_ >= (MAX_ROOM_IDX - 1)) {
|
if (current_room_idx_ >= (MAX_ROOM_IDX - 3)) {
|
||||||
current_room_idx_ = 0;
|
current_room_idx_ = 0;
|
||||||
}
|
}
|
||||||
} while (GetRoomByIdx(++current_room_idx_));
|
} while (GetRoomByIdx(++current_room_idx_));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user