diff src/p2_deco.c @ 641:1212d39c9f6f

3.14 beta work
author heinrichsweikamp
date Sat, 21 Nov 2020 17:46:29 +0100
parents 8c1f1f334275
children 1e695355dfc4
line wrap: on
line diff
--- a/src/p2_deco.c	Thu Oct 29 09:29:15 2020 +0100
+++ b/src/p2_deco.c	Sat Nov 21 17:46:29 2020 +0100
@@ -1575,7 +1575,7 @@
 //
 static unsigned char gas_find_best(void)
 {
-	overlay unsigned char switch_depth = 255;
+	overlay unsigned char switch_depth = sim_gas_current_depth;
 	overlay unsigned char switch_gas   =   0;