summaryrefslogtreecommitdiff
path: root/games/nethack34-qt/files/patch-ac
blob: d5ece267d3a6d6fa32dcc9d63b1babc3f40b2269 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./src/artifact.c.orig	Tue Oct 28 22:30:56 1997
+++ ./src/artifact.c	Tue Oct 28 22:34:10 1997
@@ -382,8 +382,8 @@
 	    else HTeleport_control &= ~wp_mask;
 	}
 	if (spfx & SPFX_WARN) {
-	    if (on) Warning |= wp_mask;
-	    else Warning &= ~wp_mask;
+	    if (on) HWarning |= wp_mask;
+	    else HWarning &= ~wp_mask;
 	}
 	if (spfx & SPFX_EREGEN) {
 	    if (on) Energy_regeneration |= wp_mask;