Removed hard coded <B> for backwards (though that message is not

even shown atm).
This commit is contained in:
hiker
2014-12-03 11:39:39 +11:00
parent 8e8d7cfc19
commit 59540abb59

View File

@@ -898,8 +898,11 @@ void TrackObjectPresentationActionTrigger::onTriggerItemApproached(Item* who)
InputDevice* device = input_manager->getDeviceManager()->getLatestUsedDevice();
DeviceConfig* config = device->getConfiguration();
irr::core::stringw fire = config->getBindingAsString(PA_FIRE);
irr::core::stringw back = config->getBindingAsString(PA_LOOK_BACK);
new TutorialMessageDialog(_("Press <B> to look behind, and fire the weapon with <%s> while pressing <B> to fire behind!", fire),
new TutorialMessageDialog(
_("Press <%s> to look behind, and fire the weapon with <%s> while "
"pressing <%s> to fire behind!", back, fire, back),
true);
}
else if (m_action == "tutorial_nitro_collect")