Fix mouse glitch regression, due to code re-arrange

svn-id: r24629
This commit is contained in:
Travis Howell 2006-11-05 23:58:37 +00:00
parent ec177bc6ce
commit 3ebba5fab9

View File

@ -986,14 +986,14 @@ void AGOSEngine::setImage(uint16 vga_res_id, bool vgaScript) {
}
void AGOSEngine::setWindowImageEx(uint16 mode, uint16 vga_res) {
if (!_initMouse) {
_initMouse = 1;
vc33_setMouseOn();
}
if (mode == 4) {
vc29_stopAllSounds();
if (!_initMouse) {
_initMouse = 1;
vc33_setMouseOn();
}
if (getGameType() == GType_ELVIRA1) {
if (_variableArray[299] == 0) {
_variableArray[293] = 0;