diff ppe/chara_state11.cc @ 57:978097c6427a

bug fix.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Sat, 29 Jan 2011 22:43:17 +0900
parents 39e643fc4f90
children 3c2fc35a6b55
line wrap: on
line diff
--- a/ppe/chara_state11.cc	Sat Jan 29 02:46:41 2011 +0900
+++ b/ppe/chara_state11.cc	Sat Jan 29 22:43:17 2011 +0900
@@ -27,7 +27,7 @@
 	DefSpriteEx(54, 16, 32, &sprite->data[0]);
 	PutSpriteEx(54, p->x, p->y, p->s, p->s, 1, &sprite->data[1]);
 
-	p->task = STATE11;
+	p->state_task = STATE11;
 	*w_count = count;	
 	*q = *p;
 	return 0;
@@ -37,7 +37,7 @@
     p->dt1 = 0;
     p->dt2 = 0;
 
-    p->task = STATE12;
+    p->state_task = STATE12;
     *q = *p;
     return 0;
 }