diff options
author | Tofu Buzzard <no-email> | 2010-11-09 10:05:17 +0000 |
---|---|---|
committer | Tofu Buzzard <no-email> | 2010-11-09 10:05:17 +0000 |
commit | caa53cc8cdd69bd48bd6c07fa6c98234e81f8a42 (patch) | |
tree | 682c2571bad71cf52e5157f4703163ca2ce21f57 /indra/newview/llviewerobjectlist.cpp | |
parent | 179e9e37ecbdcd1ad2133733047707ddd42e8c30 (diff) | |
parent | b657516f72f016a918e0ff627105dd380a94394c (diff) |
merge up from v-d
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 8239ef9cf4..a414e86866 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -165,6 +165,11 @@ BOOL LLViewerObjectList::removeFromLocalIDTable(const LLViewerObject &object) { U32 local_id = object.mLocalID; LLHost region_host = object.getRegion()->getHost(); + if(!region_host.isOk()) + { + return FALSE ; + } + U32 ip = region_host.getAddress(); U32 port = region_host.getPort(); U64 ipport = (((U64)ip) << 32) | (U64)port; |