Fixed players ignited twice on some anticamp volumes.

This commit is contained in:
richard 2009-08-29 23:39:59 +02:00
parent 578f1f643c
commit 2830eb4c7d
1 changed files with 3 additions and 0 deletions

View File

@ -369,6 +369,9 @@ VolAnticampApplyAction(client, dataIndex, volumeIndex)
// Validate amount.
if (amount > 0.0)
{
// Extinguish player first.
ExtinguishEntity(client);
// Ignite player for "amount" seconds.
IgniteEntity(client, amount);