From 4f7b33cdcfdcbc11bcc506018dff1b06db3cf3f6 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 6 Oct 2018 16:20:41 -0400 Subject: Remove redundant "== false" code Some of this code has been re-organized. f --- core/io/multiplayer_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/io/multiplayer_api.cpp') diff --git a/core/io/multiplayer_api.cpp b/core/io/multiplayer_api.cpp index d2351c8149..b3f0a76a80 100644 --- a/core/io/multiplayer_api.cpp +++ b/core/io/multiplayer_api.cpp @@ -416,7 +416,7 @@ bool MultiplayerAPI::_send_confirm_path(NodePath p_path, PathSentCache *psc, int Map::Element *F = psc->confirmed_peers.find(E->get()); - if (!F || F->get() == false) { + if (!F || !F->get()) { // Path was not cached, or was cached but is unconfirmed. if (!F) { // Not cached at all, take note. -- cgit v1.2.3