Remove unnecessary properties from Sequence.

This commit is contained in:
Paul Chote
2013-07-15 20:01:30 +12:00
parent a642b8298e
commit 847f93246c
2 changed files with 24 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Graphics
get
{
return backwards
? CurrentSequence.GetSprite(CurrentSequence.End - frame - 1, facingFunc())
? CurrentSequence.GetSprite(CurrentSequence.Start + CurrentSequence.Length - frame - 1, facingFunc())
: CurrentSequence.GetSprite(frame, facingFunc());
}
}