Mercurial > hg > early-roguelike
comparison arogue7/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 |
---|---|
214 turn_delta.y = (spos.y < epos.y ? 1 : -1); | 214 turn_delta.y = (spos.y < epos.y ? 1 : -1); |
215 turn_delta.x = 0; | 215 turn_delta.x = 0; |
216 offset = abs(spos.y - epos.y); | 216 offset = abs(spos.y - epos.y); |
217 } | 217 } |
218 else | 218 else |
219 { | |
219 debug("error in connection tables"); | 220 debug("error in connection tables"); |
221 return; | |
222 } | |
220 | 223 |
221 /* | 224 /* |
222 * Draw in the doors on either side of the passage or just put #'s | 225 * Draw in the doors on either side of the passage or just put #'s |
223 * if the rooms are gone. | 226 * if the rooms are gone. |
224 */ | 227 */ |