Permalink
Browse files

fix some animation cycles for IE_ANI_CODE_MIRROR_3

Fixes phases of invisibility for MIGO, MKUL, and MSPS.
  • Loading branch information...
1 parent 66418f1 commit cca834dfe4e3fb7310f731b4a3c98b54232b814c @fizzet fizzet committed Apr 28, 2013
Showing with 7 additions and 14 deletions.
  1. +7 −14 gemrb/core/CharAnimations.cpp
@@ -1485,29 +1485,26 @@ void CharAnimations::AddVHR3Suffix(char* ResRef, unsigned char StanceID,
case IE_ANI_ATTACK: //temporarily
case IE_ANI_ATTACK_BACKSLASH:
strcat( ResRef, "g21" );
+ Cycle+=9;
break;
case IE_ANI_ATTACK_SLASH:
strcat( ResRef, "g2" );
break;
case IE_ANI_ATTACK_JAB:
- strcat( ResRef, "g26" );
+ case IE_ANI_CONJURE://ending
+ strcat( ResRef, "g22" );
Cycle+=18;
break;
case IE_ANI_CAST: //looping
- strcat( ResRef, "g25" );
- Cycle+=45;
- break;
-
- case IE_ANI_CONJURE://ending
- strcat( ResRef, "g26" );
- Cycle+=36;
+ strcat( ResRef, "g22" );
+ Cycle+=27;
break;
case IE_ANI_SHOOT:
- strcat( ResRef, "g24" );
+ strcat( ResRef, "g23" );
Cycle+=27;
break;
@@ -1518,12 +1515,8 @@ void CharAnimations::AddVHR3Suffix(char* ResRef, unsigned char StanceID,
break;
case IE_ANI_SLEEP:
- strcat( ResRef, "g15" );
- Cycle+=45;
- break;
-
case IE_ANI_TWITCH:
- strcat( ResRef, "g14" );
+ strcat( ResRef, "g15" );
Cycle+=45;
break;

0 comments on commit cca834d

Please sign in to comment.