Permalink
Browse files

Supply missing return values for `shop_keeper`.

  • Loading branch information...
1 parent 6f3f023 commit 5b9d050b76ebc8fcb757baa44ab82c3bb7461035 @jonm committed Oct 4, 2015
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/shop.c
View
@@ -580,18 +580,18 @@ int shop_keeper(struct char_data *ch, int cmd, char *arg, char *mob, int type)
if(type == EVENT_DWARVES_STRIKE) {
ch->generic = DWARVES_STRIKE;
- return;
+ return(FALSE);
}
if(type == EVENT_FAMINE) {
ch->generic = FAMINE;
- return;
+ return(FALSE);
}
keeper = 0;
if (!real_roomp(ch->in_room))
- return;
+ return(FALSE);
for (temp_char = real_roomp(ch->in_room)->people; (!keeper) && (temp_char) ;
temp_char = temp_char->next_in_room)

0 comments on commit 5b9d050

Please sign in to comment.