Skip to content

Commit

Permalink
Fixed warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Dec 25, 2023
1 parent f927e2d commit f37f74d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/network_synchronizer/networked_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,11 @@ void ServerController::process(double p_delta) {
return;
}

#ifdef DEBUG_ENABLED
const bool is_new_input = fetch_next_input(p_delta);
#else
fetch_next_input(p_delta);
#endif

if (unlikely(current_input_buffer_id == UINT32_MAX)) {
// Skip this until the first input arrive.
Expand Down

0 comments on commit f37f74d

Please sign in to comment.