Mercurial > hg > early-roguelike
comparison urogue/newlvl.c @ 308:13b482bd9e66
Fix a few more miscellaneous compiler warnings.
author | John "Elwin" Edwards |
---|---|
date | Sat, 01 May 2021 09:51:30 -0400 |
parents | e52a8a7ad4c5 |
children |
comparison
equal
deleted
inserted
replaced
307:32bc72dcbf4f | 308:13b482bd9e66 |
---|---|
35 { | 35 { |
36 int rm, i, cnt; | 36 int rm, i, cnt; |
37 struct linked_list *item, *nitem; | 37 struct linked_list *item, *nitem; |
38 struct thing *tp; | 38 struct thing *tp; |
39 struct linked_list *fpack = NULL; | 39 struct linked_list *fpack = NULL; |
40 int going_down = TRUE; | |
41 coord stairs; | 40 coord stairs; |
42 | 41 |
43 /* Start player off right */ | 42 /* Start player off right */ |
44 | 43 |
45 turn_off(player, ISHELD); | 44 turn_off(player, ISHELD); |
49 trap_tries = 0; | 48 trap_tries = 0; |
50 no_food++; | 49 no_food++; |
51 | 50 |
52 if (level >= max_level) | 51 if (level >= max_level) |
53 max_level = level; | 52 max_level = level; |
54 else | |
55 going_down = FALSE; | |
56 | 53 |
57 /* Free up the monsters on the last level */ | 54 /* Free up the monsters on the last level */ |
58 | 55 |
59 if (fam_ptr != NULL) /* save what familiar is carrying */ | 56 if (fam_ptr != NULL) /* save what familiar is carrying */ |
60 { | 57 { |