(makelost, makenotlost, findlost, struct loststr): Change type to be a
short instead of a char. This will make lost_type consistent with ef_type in the rest of the structures.
This commit is contained in:
parent
74b263f3d8
commit
09248d018d
2 changed files with 7 additions and 7 deletions
|
@ -36,10 +36,10 @@
|
|||
#include "file.h"
|
||||
#include "lost.h"
|
||||
|
||||
static int findlost(char, natid, short, coord, coord, int);
|
||||
static int findlost(short, natid, short, coord, coord, int);
|
||||
|
||||
void
|
||||
makelost(char type, natid owner, short id, coord x, coord y)
|
||||
makelost(short type, natid owner, short id, coord x, coord y)
|
||||
{
|
||||
struct loststr lost;
|
||||
int n;
|
||||
|
@ -64,7 +64,7 @@ makelost(char type, natid owner, short id, coord x, coord y)
|
|||
}
|
||||
|
||||
void
|
||||
makenotlost(char type, natid owner, short id, coord x, coord y)
|
||||
makenotlost(short type, natid owner, short id, coord x, coord y)
|
||||
{
|
||||
struct loststr lost;
|
||||
int n;
|
||||
|
@ -87,7 +87,7 @@ makenotlost(char type, natid owner, short id, coord x, coord y)
|
|||
* Else return -1.
|
||||
*/
|
||||
static int
|
||||
findlost(char type, natid owner, short id, coord x, coord y, int free)
|
||||
findlost(short type, natid owner, short id, coord x, coord y, int free)
|
||||
{
|
||||
struct loststr lost;
|
||||
int n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue