mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove redundant "== false" code
Some of this code has been re-organized. f
This commit is contained in:
parent
37386f112b
commit
4f7b33cdcf
33 changed files with 81 additions and 73 deletions
|
|
@ -416,7 +416,7 @@ bool MultiplayerAPI::_send_confirm_path(NodePath p_path, PathSentCache *psc, int
|
|||
|
||||
Map<int, bool>::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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue