variable 'display' causes shadow variable warnings in X11 build
display.botl -> disp.botl display.botlx -> disp.botlx display.time_botl -> disp.time_botl
This commit is contained in:
@@ -28,7 +28,7 @@ take_gold(void)
|
||||
You_feel("a strange sensation.");
|
||||
} else {
|
||||
You("notice you have no gold!");
|
||||
display.botl = TRUE;
|
||||
disp.botl = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ throne_sit_effect(void)
|
||||
make_blinded(0L, TRUE);
|
||||
make_sick(0L, (char *) 0, FALSE, SICK_ALL);
|
||||
heal_legs(0);
|
||||
display.botl = TRUE;
|
||||
disp.botl = TRUE;
|
||||
break;
|
||||
case 5:
|
||||
take_gold();
|
||||
|
||||
Reference in New Issue
Block a user