Use int instead of signed char for pln_flags

Just for consistency with other flags members.  Rearrange struct
plnstr to avoid holes.
This commit is contained in:
Markus Armbruster 2013-01-13 14:16:01 +01:00
parent e51b3fb842
commit 948757cb0c
6 changed files with 68 additions and 68 deletions

View file

@ -30,7 +30,7 @@
* Dave Pare, 1986
* Ken Stevens, 1995
* Steve McClure, 1998
* Markus Armbruster, 2004-2012
* Markus Armbruster, 2004-2013
*/
#ifndef PLANE_H
@ -65,10 +65,10 @@ struct plnstr {
short pln_radius; /* mission radius */
/* end of part matching struct empobj */
unsigned char pln_range; /* total distance, not radius */
signed char pln_harden; /* for missiles */
int pln_ship; /* uid of carrier, or -1 */
int pln_land; /* uid of transporting land unit, or -1 */
signed char pln_harden; /* for missiles */
signed char pln_flags; /* State of the plane */
int pln_flags; /* State of the plane */
short pln_access; /* Last tick mob was updated (MOB_ACCESS) */
float pln_theta; /* position in orbital sine wave */
};