mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 09:59:02 +00:00
cockbuilding ejaculation fix
This commit is contained in:
parent
717b0a6514
commit
7f30a2ae1b
1 changed files with 21 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "TxdStore.h"
|
||||
#include "Sprite.h"
|
||||
#include "Camera.h"
|
||||
#include "Clock.h"
|
||||
#include "Collision.h"
|
||||
#include "World.h"
|
||||
#include "Shadows.h"
|
||||
|
@ -1134,6 +1135,25 @@ void CParticle::Update()
|
|||
|
||||
CParticleObject::UpdateAll();
|
||||
|
||||
// ejaculation at 23:00, 23:15, 23:30, 23:45
|
||||
if ( CClock::ms_nGameClockHours == 23 &&
|
||||
( CClock::ms_nGameClockMinutes == 0
|
||||
|| CClock::ms_nGameClockMinutes == 15
|
||||
|| CClock::ms_nGameClockMinutes == 30
|
||||
|| CClock::ms_nGameClockMinutes == 45 ) )
|
||||
{
|
||||
AddParticle(PARTICLE_CAR_SPLASH,
|
||||
CVector(557.03f, -4.0f, 151.46f),
|
||||
CVector(0.0f, 0.0f, 2.5f),
|
||||
NULL,
|
||||
2.0f,
|
||||
CRGBA(255, 255, 255, 255),
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1000);
|
||||
}
|
||||
|
||||
for ( int32 i = 0; i < MAX_PARTICLES; i++ )
|
||||
{
|
||||
tParticleSystemData *psystem = &mod_ParticleSystemManager.m_aParticles[i];
|
||||
|
|
Loading…
Reference in a new issue