[Server] Use correct argument for SetObjectSummonDuration()

This commit is contained in:
David Cernat 2019-12-01 10:41:07 +02:00
parent 47b666c1f9
commit 610e0558c8
2 changed files with 2 additions and 2 deletions

View File

@ -404,7 +404,7 @@ void ObjectFunctions::SetObjectSummonState(bool summonState) noexcept
tempObject.isSummon = summonState; tempObject.isSummon = summonState;
} }
void ObjectFunctions::SetObjectSummonDuration(float summonDuration) noexcept void ObjectFunctions::SetObjectSummonDuration(double summonDuration) noexcept
{ {
tempObject.summonDuration = summonDuration; tempObject.summonDuration = summonDuration;
} }

View File

@ -790,7 +790,7 @@ public:
* \param summonDuration The summon duration. * \param summonDuration The summon duration.
* \return void * \return void
*/ */
static void SetObjectSummonDuration(float summonDuration) noexcept; static void SetObjectSummonDuration(double summonDuration) noexcept;
/** /**
* \brief Set the player ID of the summoner of the temporary object stored on the server. * \brief Set the player ID of the summoner of the temporary object stored on the server.