shithub: city

Download patch

ref: acb956ad79b4e9458af3f1a1a8d029ba33a9dc40
parent: abdece9ac66470acc5bccf1d075e74b9a559086c
author: qwx <qwx@sciops.net>
date: Thu Apr 15 12:46:35 EDT 2021

properly properly initialize mouse state

--- a/city.c
+++ b/city.c
@@ -52,6 +52,7 @@
 	if(proccreate(timeproc, nil, 8192) < 0)
 		sysfatal("init: %r");
 	startsim();
+	mo.xy = ZP;
 	enum{
 		Aresize,
 		Amouse,