1
0

Change TimeOfDay to WorldDate (#5160)

* Change TimeOfDay to WorldDate

* Do not wrap at 20 minutes, continue incrementing
* Fixes #4737
* Fixes #5159
This commit is contained in:
Tiger Wang
2021-03-20 20:58:19 +00:00
committed by GitHub
parent 55ba39ca0e
commit 90369deb5a
12 changed files with 68 additions and 54 deletions

View File

@@ -83,7 +83,7 @@ const int cPlayer::EATING_TICKS = 30;
cPlayer::cPlayer(const cClientHandlePtr & a_Client) :
cPlayer::cPlayer(const std::shared_ptr<cClientHandle> & a_Client) :
Super(etPlayer, 0.6, 1.8),
m_bVisible(true),
m_FoodLevel(MAX_FOOD_LEVEL),