Fix wave notification text
This commit is contained in:
@@ -616,7 +616,10 @@ static void renderGame(Game *game, float dt) {
|
||||
static f32 waveDisplay = 0.0f;
|
||||
if (isWaveOver(&game->waveInfo)) {
|
||||
game->waveInfo = getWaveInfo(&game->waves, game->waveInfo.number + 1);
|
||||
waveDisplay = 1.6f;
|
||||
}
|
||||
if (game->waveInfo.number > 0 && game->waveInfo.started &&
|
||||
game->waveInfo.elapsed - game->waveInfo.data.timeBeforeStart < 1.0f) {
|
||||
waveDisplay = 0.6f;
|
||||
}
|
||||
|
||||
if (waveDisplay > 0.0f) {
|
||||
|
||||
Reference in New Issue
Block a user