bug fix in dob_update room detection

This commit is contained in:
lawnjelly 2020-01-28 09:51:08 +00:00 committed by GitHub
parent 533c40baa6
commit b6c6f15e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,9 @@ LRoom * LRoom::DOB_Update(LRoomManager &manager, Spatial * pDOB)
if (iRoomNum == -1)
return 0;
// could be no change of room...
if (iRoomNum == m_RoomID)
return 0;
return manager.GetRoom(iRoomNum);
}