shithub: wl3d

Download patch

ref: 7ac0afd8f43f615ad61361476767f19bced5a5e2
parent: 20c37be7a91df8e4311c69f7ef3e5b8d0448636e
author: qwx <>
date: Tue Apr 23 20:26:07 EDT 2019

gm: fix warping to secret level (thanks kvik)

--- a/gm.c
+++ b/gm.c
@@ -2624,7 +2624,7 @@
 		if(gm.com == GMret)
 			n = setece[e];
 		else if(gm.com == GMsetec)
-			n = e + 9;
+			n = e * 10 + 9;
 	}else{
 		if(gm.com == GMret)
 			n = m == 18 ? 4 : m == 19 ? 12 : m + 1;