window.c
changeset 67 b2b551af3d9f
parent 0 29654efe3188
child 68 4051f3c8efa2
--- a/window.c	Mon Aug 16 15:13:46 2004 +0000
+++ b/window.c	Mon Aug 16 18:46:54 2004 +0000
@@ -1013,10 +1013,12 @@
 		}
 
 		if (click == 1) {
+			DEBUG(misc, 1) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite);
 			if (_thd.place_mode != 0 &&
-					_cursor.sprite != 0x2CF &&
+					// query button and place sign button work in pause mode
+					!(_cursor.sprite == 0x2CF || _cursor.sprite == 0x2D2) &&
 					_pause != 0 &&
-					!_patches.build_in_pause)
+					!_cheats.build_in_pause.value)
 						return;
 			
 			if (_thd.place_mode == 0) {