Skip to content

Commit c547f01

Browse files
committed
Fixed released build compilation.
1 parent cf08ad3 commit c547f01

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

core/peer_networked_controller.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ void RemotelyControlledController::set_frame_input(const FrameInput &p_frame_sna
652652
}
653653

654654
void RemotelyControlledController::process(double p_delta) {
655-
const bool is_new_input = fetch_next_input(p_delta);
655+
#ifdef DEBUG_ENABLED
656+
const bool is_new_input =
657+
#endif
658+
fetch_next_input(p_delta);
656659

657660
if (unlikely(current_input_buffer_id == FrameIndex::NONE)) {
658661
// Skip this until the first input arrive.

core/scene_synchronizer_debugger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ void SceneSynchronizerDebugger::print(NS::PrintMessageType p_level, const std::s
488488
#else
489489
if ((log_level <= p_level) || p_force_print_to_log) {
490490
const std::string log_level_str = NS::get_log_level_txt(p_level);
491-
NS::SceneSynchronizerBase::print_line(log_level_str + "[" + p_object_name + "] " + p_message);
491+
NS::SceneSynchronizerBase::__print_line(log_level_str + "[" + p_object_name + "] " + p_message);
492492
}
493493
#endif
494494
}

0 commit comments

Comments
 (0)