Fix some warnings and indentation.

This commit is contained in:
Marco Cawthorne 2022-03-14 11:18:05 -07:00
parent 6efa7487ee
commit fd71e623f7
Signed by: eukara
GPG key ID: C196CD8BA993248A
12 changed files with 13 additions and 12 deletions

View file

@ -54,7 +54,7 @@ FX_Explosion(vector vecPos)
self.nextthink = time + 0.1f + (random() * 0.1f);
}
static void FX_Explosion_DLight(void)
static float FX_Explosion_DLight(void)
{
dynamiclight_add(self.origin, 256 * self.alpha, [1.0,0.45,0]);
@ -65,6 +65,7 @@ FX_Explosion(vector vecPos)
} else {
addentity(self);
}
return PREDRAW_NEXT;
}
entity dlight = spawn();