mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10193] Use for Transport::Update arg uint32 type as for other world objects
This commit is contained in:
parent
f4dde39085
commit
7468df5a1c
4 changed files with 4 additions and 4 deletions
|
|
@ -250,7 +250,7 @@ MapManager::Update(uint32 diff)
|
|||
iter->second->Update((uint32)i_timer.GetCurrent());
|
||||
|
||||
for (TransportSet::iterator iter = m_Transports.begin(); iter != m_Transports.end(); ++iter)
|
||||
(*iter)->Update(i_timer.GetCurrent());
|
||||
(*iter)->Update((uint32)i_timer.GetCurrent());
|
||||
|
||||
i_timer.SetCurrent(0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -484,7 +484,7 @@ bool Transport::RemovePassenger(Player* passenger)
|
|||
return true;
|
||||
}
|
||||
|
||||
void Transport::Update(time_t /*p_time*/)
|
||||
void Transport::Update(uint32 /*p_time*/)
|
||||
{
|
||||
if (m_WayPoints.size() <= 1)
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class Transport : public GameObject
|
|||
|
||||
bool Create(uint32 guidlow, uint32 mapid, float x, float y, float z, float ang, uint32 animprogress, uint32 dynflags);
|
||||
bool GenerateWaypoints(uint32 pathid, std::set<uint32> &mapids);
|
||||
void Update(time_t p_time);
|
||||
void Update(uint32 p_time);
|
||||
bool AddPassenger(Player* passenger);
|
||||
bool RemovePassenger(Player* passenger);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10192"
|
||||
#define REVISION_NR "10193"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue