Fixed desync with bullets
This commit is contained in:
parent
293f5a4b48
commit
49c98ebd77
1 changed files with 2 additions and 0 deletions
|
@ -359,6 +359,8 @@ void FX_FireBullets(
|
|||
}
|
||||
#endif
|
||||
|
||||
RandomSeed( iSeed + iBullet ); // init random system with this seed
|
||||
|
||||
float fTheta1 = RandomFloat( 0.0f, 2.0f * M_PI );
|
||||
float fRadius1 = RandomFloat( 0.0f, fSpread );
|
||||
float x1 = fRadius1 * cosf( fTheta1 );
|
||||
|
|
Loading…
Reference in a new issue