Mercurial > hg > early-roguelike
comparison srogue/passages.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 |
|---|---|
| 197 turn_distance = abs(spos.y - epos.y); | 197 turn_distance = abs(spos.y - epos.y); |
| 198 turn_spot = rnd(distance-1) + 1; | 198 turn_spot = rnd(distance-1) + 1; |
| 199 } | 199 } |
| 200 else { | 200 else { |
| 201 msg("Error in connection tables."); | 201 msg("Error in connection tables."); |
| 202 return; | |
| 202 } | 203 } |
| 203 /* | 204 /* |
| 204 * Draw in the doors on either side of the passage | 205 * Draw in the doors on either side of the passage |
| 205 * or just put #'s if the rooms are gone. Set up | 206 * or just put #'s if the rooms are gone. Set up |
| 206 * pointers to the connected room. | 207 * pointers to the connected room. |
