QOL_FIXES now makes this check a little simpler (maybe faster?)

This commit is contained in:
Colton Rushton 2021-02-15 20:24:14 -04:00
parent b6b2350397
commit 0a875ae044
1 changed files with 4 additions and 0 deletions

View File

@ -161,7 +161,11 @@ void water_ring_spawner_act_inactive(void) {
//! Because the index counter overflows at 10000, it's possible to wait
// for about 4 hours and 38 minutes if you miss a ring, and the index will
// come around again.
#ifndef QOL_FIXES
if (o->oTimer == 300)
#else
if (o->oTimer > 300)
#endif
o->oTimer = 0;
#ifndef QOL_FIXES
if ((o->oTimer == 0) || (o->oTimer == 50) || (o->oTimer == 150) || (o->oTimer == 200)