changeset 39:15cfed893145

Make ZPAUSE actually stop processing the ready queue. Processing the ready queue needs to be stopped immediately on pause, so flag it appropriately in the ZPAUSE code. This will prevent creatures from taking "one more move" once the pause takes effect.
author William Astle <lost@l-w.ca>
date Sat, 03 Jan 2015 09:44:53 -0700
parents 4ed03bbd19be
children fa3da3838daa
files dod.s
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dod.s	Fri Jan 02 21:32:03 2015 -0700
+++ b/dod.s	Sat Jan 03 09:44:53 2015 -0700
@@ -5486,6 +5486,7 @@
 		ldx #resumemess			; advertise resuming
 		jsr prendertext
 		dec pageswap			; swap live
+		dec readlistchg			; force restart of "ready queue" processing to skip any queued monsters
 pausedisplay	rts
 ; This is the puase mode command handler
 pausemodecmd	ldx #kwlist_pcmd		; point to command list