mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
Part of #33027.
This commit is contained in:
parent
e956e80c1f
commit
69de7ce38c
91 changed files with 4146 additions and 1632 deletions
|
|
@ -173,8 +173,12 @@ Timer::TimerProcessMode Timer::get_timer_process_mode() const {
|
|||
|
||||
void Timer::_set_process(bool p_process, bool p_force) {
|
||||
switch (timer_process_mode) {
|
||||
case TIMER_PROCESS_PHYSICS: set_physics_process_internal(p_process && !paused); break;
|
||||
case TIMER_PROCESS_IDLE: set_process_internal(p_process && !paused); break;
|
||||
case TIMER_PROCESS_PHYSICS:
|
||||
set_physics_process_internal(p_process && !paused);
|
||||
break;
|
||||
case TIMER_PROCESS_IDLE:
|
||||
set_process_internal(p_process && !paused);
|
||||
break;
|
||||
}
|
||||
processing = p_process;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue