(s_char): Remove. Use signed char for small integers, plain char for
characters.
This commit is contained in:
parent
0a3a73cf3d
commit
0c8c169f88
41 changed files with 86 additions and 100 deletions
|
@ -45,10 +45,10 @@
|
|||
* 2 = update only bmap with force
|
||||
*/
|
||||
|
||||
static int do_map_set(s_char *map, coord x, coord y, s_char t, int force);
|
||||
static int do_map_set(char *map, coord x, coord y, char t, int force);
|
||||
|
||||
int
|
||||
map_set(natid cnum, coord x, coord y, s_char t, int only_bmap)
|
||||
map_set(natid cnum, coord x, coord y, char t, int only_bmap)
|
||||
{
|
||||
int set = 0;
|
||||
|
||||
|
@ -63,10 +63,10 @@ map_set(natid cnum, coord x, coord y, s_char t, int only_bmap)
|
|||
|
||||
|
||||
static int
|
||||
do_map_set(s_char *map, coord x, coord y, s_char t, int force)
|
||||
do_map_set(char *map, coord x, coord y, char t, int force)
|
||||
{
|
||||
int id;
|
||||
s_char ot;
|
||||
char ot;
|
||||
|
||||
if ((id = sctoff(x, y)) < 0)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue