Reduce grenade smoke

This commit is contained in:
yvt 2014-01-30 23:34:53 +09:00
parent b16604210c
commit 69d7e8d972

View File

@ -3047,7 +3047,7 @@ namespace spades {
}
// slow smoke
color.w = .25f;
color.w = .15f;
for(int i = 0; i < 8; i++){
ParticleSpriteEntity *ent =
new SmokeSpriteEntity(this, color, 20.f);
@ -3060,7 +3060,7 @@ namespace spades {
ent->SetRadius(1.4f + GetRandom()*GetRandom()*0.8f,
0.2f);
ent->SetBlockHitAction(ParticleSpriteEntity::Ignore);
ent->SetLifeTime(6.f + GetRandom() * 5.f, 0.1f, 8.f);
ent->SetLifeTime(4.f + GetRandom() * 5.f, 0.1f, 8.f);
localEntities.push_back(ent);
}