Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup remains to be done.
This commit is contained in:
parent
de95b19cee
commit
7d459d7d36
47 changed files with 608 additions and 591 deletions
|
|
@ -521,9 +521,10 @@ quaff(int which, int kind, int flags, bool is_potion)
|
|||
fuse(sight, NULL, SEEDURATION, AFTER);
|
||||
light(&hero);
|
||||
}
|
||||
else
|
||||
else {
|
||||
msg("The darkness around you thickens. ");
|
||||
lengthen(sight, SEEDURATION);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (off(player, CANSEE)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue