Commit b0f8bdaa authored by Romain Bignon's avatar Romain Bignon

shortcut '+' to add units

parent 34442605
......@@ -974,6 +974,10 @@ void TInGameForm::OnKeyUp(SDL_keysym key)
if(BarreAct->Entity() && !SendMessage->Focused())
client->sendrpl(MSG_ARM, ECArgs(BarreAct->Entity()->ID(), "C"));
break;
case SDLK_PLUS:
if(BarreAct->Entity() && !SendMessage->Focused())
client->sendrpl(MSG_ARM, ECArgs(BarreAct->Entity()->ID(), "+"));
break;
case SDLK_RETURN:
if(SendMessage->Focused())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment