diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-28 08:00:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-06-28 08:00:33 +0200 |
commit | bd424d8f734fdad261953142451e412db60b4543 (patch) | |
tree | cbe9ea5ec27af8fc0bac999011a2d174dbcf5156 | |
parent | ba5bc57816999804e3c392e9d1f94b528baa8c18 (diff) |
Fix style bug in event queue
Same fix as for 1f9812ab835e97ff07f4abba23a7915e04d306c9
Not sure if this code actually does anything though, `buffer_max_used` seems unused.
-rw-r--r-- | core/event_queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/event_queue.cpp b/core/event_queue.cpp index 53638c5431..958ef41132 100644 --- a/core/event_queue.cpp +++ b/core/event_queue.cpp @@ -92,7 +92,7 @@ Error EventQueue::push_call(uint32_t p_instance_ID, const StringName& p_method, *v=p_arg5; } - if (buffer_max_used>buffer_end); + if (buffer_end > buffer_max_used) buffer_max_used=buffer_end; return OK; |