Ticket #3114: bug_1678230_fix.diff
File bug_1678230_fix.diff, 728 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 game.inputEnabled = 0; 1240 1241 g_gfx->shakeStart(); 1242 1239 1243 g_sprites->commitBoth(); /* Fixes SQ1 demo */ 1240 1244 for (i = 4 * p0; i; i--) { 1241 1245 g_gfx->shakeScreen(i & 1); … … 1243 1247 g_agi->mainCycle(); 1244 1248 } 1245 1249 g_gfx->shakeEnd(); 1250 1251 //Enables input again when done shaking 1252 game.inputEnabled = 1; 1246 1253 } 1247 1254 1248 1255 static void (*agiCommand[183])(uint8 *) = {