ref: 64265d0b399f533995e5b60e85820d90873d91b6
parent: 74e42425566ddec53e22bffc44b5a211b937bc24
author: cancel <cancel@cancel.fm>
date: Sat Jan 12 19:17:43 EST 2019
Cleanup
--- a/sim.c
+++ b/sim.c
@@ -434,7 +434,8 @@
Usz mod_num = index_of(PEEK(0, 1));
mod_num = (mod_num == 0) ? 10 : mod_num;
Usz rate = index_of(PEEK(0, -1));
- rate = (rate == 0) ? 1 : rate;
+ if (rate == 0)
+ rate = 1;
Glyph g = glyph_of(Tick_number / rate % mod_num);
POKE(1, 0, g);
END_OPERATOR