Remove sold items from equipment slots and loadout slots if they exist there so they no longer linger. Relase Build 7870. Game Version 0.4.2
This commit is contained in:
@@ -568,20 +568,6 @@ void Player::Update(float fElapsedTime){
|
||||
#pragma region Warrior
|
||||
switch(GetState()){
|
||||
case State::SWING_SWORD:{
|
||||
switch(GetFacingDirection()){
|
||||
case UP:{
|
||||
UpdateAnimation("WARRIOR_SWINGSWORD_N");
|
||||
}break;
|
||||
case DOWN:{
|
||||
UpdateAnimation("WARRIOR_SWINGSWORD_S");
|
||||
}break;
|
||||
case LEFT:{
|
||||
UpdateAnimation("WARRIOR_SWINGSWORD_W");
|
||||
}break;
|
||||
case RIGHT:{
|
||||
UpdateAnimation("WARRIOR_SWINGSWORD_E");
|
||||
}break;
|
||||
}
|
||||
SetSwordSwingTimer(GetSwordSwingTimer()-fElapsedTime);
|
||||
if(GetSwordSwingTimer()<=0){
|
||||
SetSwordSwingTimer(0);
|
||||
|
||||
Reference in New Issue
Block a user