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

View File

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