Initial convertion of a_Dt to std::chrono
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
This commit is contained in:
@@ -33,7 +33,7 @@ void cSquid::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
||||
|
||||
|
||||
|
||||
void cSquid::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
void cSquid::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
||||
{
|
||||
// We must first process current location, and only then tick, otherwise we risk processing a location in a chunk
|
||||
// that is not where the entity currently resides (FS #411)
|
||||
|
||||
Reference in New Issue
Block a user