(s_char): Remove. Use signed char for small integers, plain char for

characters.
This commit is contained in:
Markus Armbruster 2006-04-29 16:25:17 +00:00
parent 0a3a73cf3d
commit 0c8c169f88
41 changed files with 86 additions and 100 deletions

View file

@ -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;