1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

fix 'Comparison result is always the same' warnings

This commit is contained in:
LinuxUserGD
2022-07-25 17:14:33 +02:00
committed by Linux User
parent 6ba7dacf6b
commit 6e6569aa78
5 changed files with 3 additions and 92 deletions

View File

@@ -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) {