1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 09:39:56 +00:00

Add messagebox escape characters for spell/weapon cycling hotkeys

This commit is contained in:
scrawl 2014-12-20 00:06:14 +01:00
parent 37e11b7272
commit c7be850162

View File

@ -47,10 +47,10 @@ namespace Interpreter{
retval << context.getActionBinding("#{sReady_Magic}");
}
else if((found = check(temp, "actionprevweapon", &i, &start))){
retval << "PLACEHOLDER_ACTION_PREV_WEAPON";
retval << context.getActionBinding("#{sPrevWeapon}");
}
else if((found = check(temp, "actionnextweapon", &i, &start))){
retval << "PLACEHOLDER_ACTION_PREV_WEAPON";
retval << context.getActionBinding("#{sNextWeapon}");
}
else if((found = check(temp, "actiontogglerun", &i, &start))){
retval << context.getActionBinding("#{sAuto_Run}");
@ -62,10 +62,10 @@ namespace Interpreter{
retval << context.getActionBinding("#{sReady_Weapon}");
}
else if((found = check(temp, "actionprevspell", &i, &start))){
retval << "PLACEHOLDER_ACTION_PREV_SPELL";
retval << context.getActionBinding("#{sPrevSpell}");
}
else if((found = check(temp, "actionnextspell", &i, &start))){
retval << "PLACEHOLDER_ACTION_NEXT_SPELL";
retval << context.getActionBinding("#{sNextSpell}");
}
else if((found = check(temp, "actionrestmenu", &i, &start))){
retval << context.getActionBinding("#{sRestKey}");