# HG changeset patch # User mroi # Date 1055257878 0 # Node ID cd877501ba27196d6fe74770ba8dae206060886b # Parent a2eb1afa1af8b6079e2f4ebaeedbd1ab4c197350 this assertion should be checked on LinkPrevC, not on LinkNextC (fixes the image galleries on the LotR-SE Bonus disc 1) diff -r a2eb1afa1af8 -r cd877501ba27 vm.c --- a/vm.c Mon Jun 09 15:17:44 2003 +0000 +++ b/vm.c Tue Jun 10 15:11:18 2003 +0000 @@ -1228,7 +1228,6 @@ /* BUTTON number:data1 */ if(link_values.data1 != 0) (vm->state).HL_BTNN_REG = link_values.data1 << 10; - assert((vm->state).cellN > 1); (vm->state).cellN += 1; link_values = play_Cell(vm); break; @@ -1237,6 +1236,7 @@ /* BUTTON number:data1 */ if(link_values.data1 != 0) (vm->state).HL_BTNN_REG = link_values.data1 << 10; + assert((vm->state).cellN > 1); (vm->state).cellN -= 1; link_values = play_Cell(vm); break;