Fix key display for Ability 4 to match the keybind of the 4th ability. Release Build 11599.

master
sigonasr2 5 months ago
parent 1e7345d7b5
commit d007e2bbf5
  1. 5
      Adventures in Lestoria/AdventuresInLestoria.cpp
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -2117,7 +2117,9 @@ void AiL::RenderCooldowns(){
if(loadoutSlot!=-1){
drawOffset.y+=2.f;
}
a.input->DrawPrimaryInput(game,pos+vf2d{14,0.f}+drawOffset,"",255,controlType,{0.75f,0.75f});
InputGroup*input{a.input};
if(a==player->GetAbility4())input=&Player::KEY_ABILITY4;
input->DrawPrimaryInput(game,pos+vf2d{14,0.f}+drawOffset,"",255,controlType,{0.75f,0.75f});
if(a.cooldown>0.1){
vf2d iconScale={1,1};
@ -2988,7 +2990,6 @@ void AiL::ChangePlayerClass(Class cl){
player->OnLevelStart();
player->timers=oldTimers;
player->shield=previousShield;
player->SetAbility4(Thief::GetOriginalAbility2());
}
void AiL::InitializeClasses(){

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 11598
#define VERSION_BUILD 11599
#define stringify(a) stringify_(a)
#define stringify_(a) #a

Loading…
Cancel
Save