summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2020-05-27 23:45:45 +0200
committerGitHub <noreply@github.com>2020-05-27 23:45:45 +0200
commit7f30a2ae1bdd5232783aa5c943c0dad584050524 (patch)
tree636fb04c474bc95f8694125013638c78428e7913 /src
parentlibrw update (diff)
downloadre3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar.gz
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar.bz2
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar.lz
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar.xz
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.tar.zst
re3-7f30a2ae1bdd5232783aa5c943c0dad584050524.zip
Diffstat (limited to '')
-rw-r--r--src/render/Particle.cpp22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index d5b05947..db40781e 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -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"
@@ -1133,6 +1134,25 @@ void CParticle::Update()
float fFricDeccel99 = pow(0.99f, CTimer::GetTimeStep());
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++ )
{
@@ -2435,4 +2455,4 @@ void CParticle::HandleShootableBirdsStuff(CEntity *entity, CVector const&camPos)
}
}
-} \ No newline at end of file
+}