mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9381] Fixed some compile warnings.
This commit is contained in:
parent
2bdcb1161c
commit
ccfd42bf3e
55 changed files with 219 additions and 203 deletions
|
|
@ -620,10 +620,10 @@ class MANGOS_DLL_SPEC GameObject : public WorldObject
|
|||
return now;
|
||||
}
|
||||
|
||||
void SetRespawnTime(int32 respawn)
|
||||
void SetRespawnTime(time_t respawn)
|
||||
{
|
||||
m_respawnTime = respawn > 0 ? time(NULL) + respawn : 0;
|
||||
m_respawnDelayTime = respawn > 0 ? respawn : 0;
|
||||
m_respawnDelayTime = respawn > 0 ? uint32(respawn) : 0;
|
||||
}
|
||||
void Respawn();
|
||||
bool isSpawned() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue