(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
|
@ -310,7 +310,7 @@ do_mob_ship(struct shpstr *sp, int etus)
|
|||
value = sp->shp_mobil + ((float)etus * ship_mob_scale);
|
||||
if (value > ship_mob_max)
|
||||
value = ship_mob_max;
|
||||
sp->shp_mobil = (s_char)value;
|
||||
sp->shp_mobil = (signed char)value;
|
||||
} else {
|
||||
can_add = ship_mob_max - sp->shp_mobil;
|
||||
if (can_add > ((float)etus * ship_mob_scale))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue