LOL: - fix animations for fletcher shop in the swamp

svn-id: r40655
This commit is contained in:
Florian Kagerer 2009-05-17 15:54:29 +00:00
parent b3a50b99fc
commit 70a7fab1e6

View file

@ -597,7 +597,8 @@ int TIMInterpreter::cmd_wsaDisplayFrame(const uint16 *param) {
Animation &anim = _animations[param[0]]; Animation &anim = _animations[param[0]];
const int frame = param[1]; const int frame = param[1];
int page = (anim.wsaCopyParams & 0x4000) != 0 ? 2 : _drawPage2; int page = (anim.wsaCopyParams & 0x4000) != 0 ? 2 : _drawPage2;
anim.wsa->displayFrame(frame, page, anim.x, anim.y, anim.wsaCopyParams & 0xF0FF, 0, 0); if (anim.wsa)
anim.wsa->displayFrame(frame, page, anim.x, anim.y, anim.wsaCopyParams & 0xF0FF, 0, 0);
if (!page) if (!page)
screen()->updateScreen(); screen()->updateScreen();
return 1; return 1;