shithub: city

Download patch

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

properly initialize mouse state

--- a/city.c
+++ b/city.c
@@ -74,6 +74,8 @@
 			resetdraw();
 			break;
 		case Amouse:
+			if(eqpt(mo.xy, ZP))
+				mo = mc->Mouse;
 			break;
 		case Akbd:
 			switch(r){