|
|
@ -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(){ |
|
|
|