From 5289481a989a71f912a121ece340011724270149 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 28 Nov 2003 13:48:18 +0000 Subject: [PATCH] show the additional key bindings only when the bo105 is used. --- Nasal/bo105.nas | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Nasal/bo105.nas b/Nasal/bo105.nas index 0a9156e5a..4975b2ab1 100644 --- a/Nasal/bo105.nas +++ b/Nasal/bo105.nas @@ -1,6 +1,11 @@ # $Id$ #print("Loading bo105.nas"); -print("\tShift-C ... open/close rear door"); +if (streq(getprop("/sim/aero"), "bo105")) { + print( + "Additional key bindings for the bo105 helicopter:\n\n", + "\tShift-C ... open/close rear door" + ); +} rearpos = "/controls/doors/rear"; rearstep = "/controls/doors/rear-state";