Use short' instead of
unsigned short' for item storage in places
that were missed in the original changeset.
This commit is contained in:
parent
f427b30f74
commit
735adbf41b
3 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ extern void land_damage(struct lndstr *, int);
|
|||
extern void planedamage(struct plnstr *, int);
|
||||
extern int nukedamage(struct nchrstr *, int, int);
|
||||
extern int effdamage(register int, int);
|
||||
extern void item_damage(int, u_short *);
|
||||
extern void item_damage(int, short *);
|
||||
extern int commdamage(register int, int, int);
|
||||
/* check.c */
|
||||
extern int check_sect_ok(struct sctstr *);
|
||||
|
|
|
@ -996,7 +996,7 @@ use_ammo(struct emp_qelem *list)
|
|||
struct lndstr land;
|
||||
struct sctstr sect;
|
||||
int shell;
|
||||
u_short *item;
|
||||
short *item;
|
||||
double mobcost;
|
||||
struct mchrstr *mcp;
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#include "subs.h"
|
||||
|
||||
void
|
||||
item_damage(int pct, u_short *item)
|
||||
item_damage(int pct, short *item)
|
||||
{
|
||||
int i, lose;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue