Ticket #3114: bug_1678230_fix_2.diff
File bug_1678230_fix_2.diff, 774 bytes (added by , 18 years ago) |
---|
-
op_cmd.cpp
1233 1233 if ((g_agi->getFeatures() & GF_AGIPAL) && p0 >= 101 && p0 < 110) { 1234 1234 g_gfx->setAGIPal(p0); 1235 1235 return; 1236 } else 1237 g_gfx->shakeStart(); 1236 } 1238 1237 1238 //Disables input while shaking to prevent bug #1678230 1239 int originalValue = game.inputEnabled; 1240 game.inputEnabled = 0; 1241 1242 g_gfx->shakeStart(); 1243 1239 1244 g_sprites->commitBoth(); /* Fixes SQ1 demo */ 1240 1245 for (i = 4 * p0; i; i--) { 1241 1246 g_gfx->shakeScreen(i & 1); … … 1243 1248 g_agi->mainCycle(); 1244 1249 } 1245 1250 g_gfx->shakeEnd(); 1251 1252 //Sets input back to what it was 1253 game.inputEnabled = originalValue; 1246 1254 } 1247 1255 1248 1256 static void (*agiCommand[183])(uint8 *) = {