Mercurial > hg > early-roguelike
comparison xrogue/rip.c @ 242:b49d8b963df3
Fix some functions not returning the right type.
| author | John "Elwin" Edwards |
|---|---|
| date | Sat, 19 Mar 2016 16:18:58 -0400 |
| parents | f54901b9c39b |
| children | 0250220d8cdd |
comparison
equal
deleted
inserted
replaced
| 241:d0f652010675 | 242:b49d8b963df3 |
|---|---|
| 753 | 753 |
| 754 return(0); | 754 return(0); |
| 755 } | 755 } |
| 756 | 756 |
| 757 | 757 |
| 758 int | 758 void |
| 759 add_score(struct sc_ent top_ten[NUMSCORE], struct sc_ent *sc) | 759 add_score(struct sc_ent top_ten[NUMSCORE], struct sc_ent *sc) |
| 760 { | 760 { |
| 761 int idx, count; | 761 int idx, count; |
| 762 | 762 |
| 763 if (insert_score(top_ten,sc) == -1) { | 763 if (insert_score(top_ten,sc) == -1) { |
