Declare propulsionType as PROPULSION_TYPE (enum) instead of UBYTE in PROPULSION_STATS (struct)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5461 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
c5b87954bc
commit
af9a1c2a18
|
@ -24,6 +24,7 @@
|
|||
#ifndef __INCLUDED_STATSDEF_H__
|
||||
#define __INCLUDED_STATSDEF_H__
|
||||
|
||||
#include "stats-db2.h"
|
||||
#include "lib/ivis_common/ivisdef.h"
|
||||
|
||||
/* Elements common to all stats structures */
|
||||
|
@ -244,7 +245,7 @@ typedef struct _propulsion_stats
|
|||
COMPONENT_STATS;
|
||||
|
||||
UDWORD maxSpeed; ///< Max speed for the droid
|
||||
UBYTE propulsionType; ///< Type of propulsion used - index into PropulsionTable
|
||||
PROPULSION_TYPE propulsionType; ///< Type of propulsion used - index into PropulsionTable
|
||||
} PROPULSION_STATS;
|
||||
|
||||
typedef enum _sensor_type
|
||||
|
|
Loading…
Reference in New Issue