- Fixed: The ANIMATED parser must read the bytes for the speed as unsigned bytes.

- Fixed: The screen wipe must be disabled for Heretic's underwater ending. If
  not, the wipe will try to mix pictures with different palettes.


SVN r435 (trunk)
This commit is contained in:
Christoph Oelckers 2007-01-02 09:51:04 +00:00
commit 6a89d3594a
8 changed files with 216 additions and 210 deletions

View file

@ -184,10 +184,10 @@ void R_InitPicAnims (void)
// Speed is stored as tics, but we want ms so scale accordingly.
animspeed = /* .speed */
Scale ((anim_p[19] << 0) |
(anim_p[20] << 8) |
(anim_p[21] << 16) |
(anim_p[22] << 24), 1000, 35);
Scale ((BYTE(anim_p[19]) << 0) |
(BYTE(anim_p[20]) << 8) |
(BYTE(anim_p[21]) << 16) |
(BYTE(anim_p[22]) << 24), 1000, 35);
R_AddSimpleAnim (pic1, pic2 - pic1 + 1, animtype, animspeed);
}