mirror of
https://git.sr.ht/~kikoodx/momento
synced 2024-06-07 03:01:26 +02:00
14 lines
251 B
C
14 lines
251 B
C
/* SPDX-License-Identifier: GPL-3.0-or-later */
|
|
/* Copyright (C) 2021 KikooDX */
|
|
|
|
#include "conf.h"
|
|
#include "level.h"
|
|
|
|
void
|
|
level_update(void)
|
|
{
|
|
level.water_timer += 1;
|
|
if (level.water_timer == WATER_FRAMES * WATER_FLOW)
|
|
level.water_timer = 0;
|
|
}
|