1
0
Fork 0

Stuart Buchanan:

A small patch to allow the user to ignore specific
MP aircraft on a per-MP instance basis by setting
"controls/invisible". This
property name was chosen for consistency with the existing property
for AIBallistic objects.
This commit is contained in:
Torsten Dreyer 2010-05-20 21:25:37 +02:00
parent 38687c9e06
commit a060fe3acf

View file

@ -72,6 +72,9 @@ void FGAIMultiplayer::bind() {
props->tie("refuel/contact", SGRawValuePointer<bool>(&contact));
props->setBoolValue("tanker",isTanker);
props->tie("controls/invisible",
SGRawValuePointer<bool>(&invisible));
#define AIMPROProp(type, name) \
SGRawValueMethods<FGAIMultiplayer, type>(*this, &FGAIMultiplayer::get##name)
@ -97,6 +100,7 @@ void FGAIMultiplayer::unbind() {
//props->untie("callsign");
props->untie("controls/allow-extrapolation");
props->untie("controls/lag-adjust-system-speed");
props->untie("controls/invisible");
props->untie("refuel/contact");
}