Skip to content

Commit

Permalink
[10193] Use for Transport::Update arg uint32 type as for other world …
Browse files Browse the repository at this point in the history
…objects
  • Loading branch information
VladimirMangos committed Jul 15, 2010
1 parent aa9d230 commit 1f87b28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/game/MapManager.cpp
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/game/Transports.cpp
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/game/Transports.h
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10192"
#define REVISION_NR "10193"
#endif // __REVISION_NR_H__

0 comments on commit 1f87b28

Please sign in to comment.