Changed delay parameter for ent_fire

Originally, the delay param was an integer, and supplying any decimal value as a delay (e.g. 2.5 seconds) would simply round down. (2 seconds).
This commit is contained in:
Eric 2014-11-24 22:04:53 -05:00
parent 55ed12f8d1
commit 7b691e1953

View file

@ -5341,7 +5341,7 @@ public:
{
const char *target = "", *action = "Use";
variant_t value;
int delay = 0;
float delay = 0;
target = STRING( AllocPooledString(command.Arg( 1 ) ) );