Fix key display for Ability 4 to match the keybind of the 4th ability. Release Build 11599.
This commit is contained in:
parent
1e7345d7b5
commit
d007e2bbf5
@ -2117,7 +2117,9 @@ void AiL::RenderCooldowns(){
|
|||||||
if(loadoutSlot!=-1){
|
if(loadoutSlot!=-1){
|
||||||
drawOffset.y+=2.f;
|
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){
|
if(a.cooldown>0.1){
|
||||||
vf2d iconScale={1,1};
|
vf2d iconScale={1,1};
|
||||||
@ -2988,7 +2990,6 @@ void AiL::ChangePlayerClass(Class cl){
|
|||||||
player->OnLevelStart();
|
player->OnLevelStart();
|
||||||
player->timers=oldTimers;
|
player->timers=oldTimers;
|
||||||
player->shield=previousShield;
|
player->shield=previousShield;
|
||||||
player->SetAbility4(Thief::GetOriginalAbility2());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AiL::InitializeClasses(){
|
void AiL::InitializeClasses(){
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_PATCH 0
|
#define VERSION_PATCH 0
|
||||||
#define VERSION_BUILD 11598
|
#define VERSION_BUILD 11599
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user