Permalink
Browse files

Change return type of `DamageMessages()` to `void`.

  • Loading branch information...
1 parent 1edff4e commit 9e47ef275b2bdd248b29400e2f620d662bfa4dba @jonm committed Oct 4, 2015
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/fight.c
  2. +2 −2 src/protos.h
View
@@ -1038,8 +1038,8 @@ int DoDamage(struct char_data *ch, struct char_data *v, int dam, int type)
}
-int DamageMessages( struct char_data *ch, struct char_data *v, int dam,
- int attacktype)
+void DamageMessages( struct char_data *ch, struct char_data *v, int dam,
+ int attacktype)
{
int nr, max_hit, i, j;
struct message_type *messages;
View
@@ -453,8 +453,8 @@ int SetCharFighting(struct char_data *ch, struct char_data *v);
int SetVictFighting(struct char_data *ch, struct char_data *v);
int DamageTrivia(struct char_data *ch, struct char_data *v, int dam, int type);
int DoDamage(struct char_data *ch, struct char_data *v, int dam, int type);
-int DamageMessages( struct char_data *ch, struct char_data *v, int dam,
- int attacktype);
+void DamageMessages( struct char_data *ch, struct char_data *v, int dam,
+ int attacktype);
int DamageEpilog(struct char_data *ch, struct char_data *victim);
int MissileDamage(struct char_data *ch, struct char_data *victim,
int dam, int attacktype);

0 comments on commit 9e47ef2

Please sign in to comment.