Skip to content

Commit

Permalink
fix some animation cycles for IE_ANI_CODE_MIRROR_3
Browse files Browse the repository at this point in the history
Fixes phases of invisibility for MIGO, MKUL, and MSPS.
  • Loading branch information
fizzet committed Apr 28, 2013
1 parent 66418f1 commit cca834d
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions gemrb/core/CharAnimations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand Down

0 comments on commit cca834d

Please sign in to comment.