commit 42a804ddc06185e50ea83a592449e638205f5e09
parent a0f2fa44626c180bd21fd46ff419eb86a30fad51
Author: neauoire <aliceffekt@gmail.com>
Date: Fri, 21 Jan 2022 15:23:02 -0800
(wireworld.tal) Erase with mouse2
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/examples/demos/wireworld.tal b/projects/examples/demos/wireworld.tal
@@ -108,7 +108,7 @@ BRK
#41 .Mouse/state DEI #00 ! + .timer/play LDZ + .Screen/sprite DEO
( paint )
.Mouse/state DEI #00 = ,&no-down JCN
- ( color ) .color LDZ
+ ( color ) .color LDZ .Mouse/state DEI #01 > #00 = *
( cell* ) .Mouse/x DEI2 4// NIP .Mouse/y DEI2 4// NIP
;get-addr JSR2 STA
;redraw JSR2