projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c252ed5
)
Fix day_night_ratio_do_override not being initialised server-side
6569/head
author
rubenwardy
<rw@rubenwardy.com>
Sun, 29 Oct 2017 18:31:50 +0000
(18:31 +0000)
committer
rubenwardy
<rw@rubenwardy.com>
Sun, 29 Oct 2017 18:31:53 +0000
(18:31 +0000)
Causes get_day_night_ratio() to return unpredictable results.
src/remoteplayer.h
patch
|
blob
|
history
diff --git
a/src/remoteplayer.h
b/src/remoteplayer.h
index 59870f14bfb14cd940d98b6ae6b8071fb067e338..6ecdb2798d932b21b31ff62219353b82658ebada 100644
(file)
--- a/
src/remoteplayer.h
+++ b/
src/remoteplayer.h
@@
-159,7
+159,7
@@
private:
float m_chat_message_allowance = 5.0f;
u16 m_message_rate_overhead = 0;
- bool m_day_night_ratio_do_override;
+ bool m_day_night_ratio_do_override
= false
;
float m_day_night_ratio;
std::string hud_hotbar_image = "";
std::string hud_hotbar_selected_image = "";