Harmonize DelayLen for Player and Monster (was 1-based on monseter (>= DelayLen) and 0-based on player (> DelayLen). Now both are 1-based (>= DelayLen)
This commit is contained in:
parent
0a00d1d7ba
commit
3ba4bac5e2
7 changed files with 171 additions and 166 deletions
|
|
@ -292,7 +292,7 @@ static void AssertPlayer(PlayerStruct &player)
|
|||
ASSERT_EQ(player._pmode, 0);
|
||||
ASSERT_EQ(Count8(player.walkpath, MAX_PATH_LENGTH), 25);
|
||||
ASSERT_EQ(player._pgfxnum, 36);
|
||||
ASSERT_EQ(player.AnimInfo.DelayLen, 3);
|
||||
ASSERT_EQ(player.AnimInfo.DelayLen, 4);
|
||||
ASSERT_EQ(player.AnimInfo.DelayCounter, 1);
|
||||
ASSERT_EQ(player.AnimInfo.NumberOfFrames, 20);
|
||||
ASSERT_EQ(player.AnimInfo.CurrentFrame, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue