wm: glendy

Download patch

ref: afd22c2646b2e602a74b74b461f74c01a1afc31c
parent: e762861df8b2fcdad4c4c37eda862a2616314d03
author: mkf <mkf@cloud9p.org>
date: Mon May 6 10:51:15 EDT 2024

srv: it's actually [x][y], not vice versa

--- a/srv.c
+++ b/srv.c
@@ -202,8 +202,7 @@
 		{
 			for(int y = 0; y < SzY; y++)
 			{
-				/* it's [y][x], not [x][y] */
-				switch(grid[y][x])
+				switch(grid[x][y])
 				{
 					case Wall: 
 						printclients("w %d %d\n", x, y);