diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-07-10 23:06:59 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-07-10 23:06:59 +0100 |
commit | 1ae6a63f79edd72aa39c7f7e2bca5182a68592b4 (patch) | |
tree | 5c928964bd367019bdbd76db27841211680f7f0d /src/effect.c | |
parent | acb17f540cd8bc3a1e50ae4ab22b97620b55673b (diff) | |
download | gold-mine-run-1ae6a63f79edd72aa39c7f7e2bca5182a68592b4.tar.gz gold-mine-run-1ae6a63f79edd72aa39c7f7e2bca5182a68592b4.zip |
Draw entities in order
This makes a difference on the less powerful machines and helps avoiding
flickering.
Diffstat (limited to 'src/effect.c')
-rw-r--r-- | src/effect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effect.c b/src/effect.c index e308054..a2e58c2 100644 --- a/src/effect.c +++ b/src/effect.c @@ -37,6 +37,6 @@ void effect_out_update(Entity *e) e->delay = 0; e->frame++; if (e->frame == MAX_FRAME) - e->used = 0; + e->used = USED_FREE; } } |