changeset 2310:7820a7317242

Fixed crash in advertisting getstat
author boisy
date Sun, 03 Jan 2010 17:36:23 +0000
parents f3e79ee2ffef
children b2bc1ad04163
files level1/modules/scdwt.asm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/level1/modules/scdwt.asm	Sun Jan 03 15:24:52 2010 +0000
+++ b/level1/modules/scdwt.asm	Sun Jan 03 17:36:23 2010 +0000
@@ -403,7 +403,7 @@
 * B = OP_SERGETSTAT or OP_SERSETSTAT
 SendStat
 * advertise our GetStt code to the server
-			pshs	a,y,u
+			pshs	a,y,x,u
 			leas	-3,s
 			leax	,s
 			stb		,x
@@ -418,7 +418,7 @@
 			ENDC
 			jsr		6,u                    
 			leas	3,s
-			puls	a,y,u,pc
+			puls	a,y,x,u,pc
 
 *************************************************************************         
 * SetStat