Mercurial > hg > Members > koba > t_dandy
diff ppe/chara_state8.cc @ 34:7aaaaf5dde40
add new task.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 07 Jan 2011 23:19:05 +0900 |
parents | 39e643fc4f90 |
children | 978097c6427a |
line wrap: on
line diff
--- a/ppe/chara_state8.cc Wed Jan 05 14:41:26 2011 +0900 +++ b/ppe/chara_state8.cc Fri Jan 07 23:19:05 2011 +0900 @@ -6,8 +6,8 @@ static int state8(SchedTask *smanager, void *rbuf, void *wbuf) { - int count = (int)smanager->get_param(0); CHARACTER *p = (CHARACTER*)smanager->get_input(rbuf, 0); + int count = *(int*)smanager->get_input(rbuf, 1); int length; if(p->y < 520)