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:
73baeb8
)
Fix day_night_ratio_do_override not being initialised server-side
author
rubenwardy
<rw@rubenwardy.com>
Sun, 29 Oct 2017 18:31:50 +0000
(18:31 +0000)
committer
SmallJoker
<mk939@ymail.com>
Sun, 3 Jun 2018 15:32:00 +0000
(17:32 +0200)
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 ee0d625b6b32fbf8e1513251bf4249409d51284d..cbb9386cecc7c1a09c1b165a7569ffe0e4038378 100644
(file)
--- a/
src/remoteplayer.h
+++ b/
src/remoteplayer.h
@@
-156,7
+156,7
@@
private:
float m_chat_message_allowance;
u16 m_message_rate_overhead;
- 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;