1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 20:49:41 +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}"); retval << context.getActionBinding("#{sReady_Magic}");
} }
else if((found = check(temp, "actionprevweapon", &i, &start))){ 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))){ 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))){ else if((found = check(temp, "actiontogglerun", &i, &start))){
retval << context.getActionBinding("#{sAuto_Run}"); retval << context.getActionBinding("#{sAuto_Run}");
@ -62,10 +62,10 @@ namespace Interpreter{
retval << context.getActionBinding("#{sReady_Weapon}"); retval << context.getActionBinding("#{sReady_Weapon}");
} }
else if((found = check(temp, "actionprevspell", &i, &start))){ 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))){ 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))){ else if((found = check(temp, "actionrestmenu", &i, &start))){
retval << context.getActionBinding("#{sRestKey}"); retval << context.getActionBinding("#{sRestKey}");