fix 'Comparison result is always the same' warnings
This commit is contained in:
parent
6ba7dacf6b
commit
6e6569aa78
5 changed files with 3 additions and 92 deletions
|
|
@ -223,9 +223,6 @@ bool SceneCacheInterface::send_object_cache(Object *p_obj, int p_peer_id, int &r
|
|||
if (p_peer_id < 0 && E == -p_peer_id) {
|
||||
continue; // Continue, excluded.
|
||||
}
|
||||
if (p_peer_id > 0 && E != p_peer_id) {
|
||||
continue; // Continue, not for this peer.
|
||||
}
|
||||
|
||||
HashMap<int, bool>::Iterator F = psc->confirmed_peers.find(E);
|
||||
if (!F) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue