Use %valsuffix instead of manual suffix appending

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6316 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-11-16 01:18:35 +00:00
parent 5b1c63f31c
commit b2602011e6
1 changed files with 6 additions and 5 deletions

View File

@ -196,14 +196,15 @@ end;
enum SENSOR_TYPE
%valprefix "";
%valsuffix "_SENSOR";
STANDARD_SENSOR
INDIRECT_CB_SENSOR
VTOL_CB_SENSOR
VTOL_INTERCEPT_SENSOR
STANDARD
INDIRECT_CB
VTOL_CB
VTOL_INTERCEPT
# Works as all of the above together! - new for updates
SUPER_SENSOR
SUPER
end;
struct SENSOR