Mercurial > hg > Members > koba > t_dandy
diff ppe/chara_state32.cc @ 37:6989f8cb0259
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 09 Jan 2011 23:14:26 +0900 |
parents | c122e3d2302e |
children | 978097c6427a 21ac9f57a6d4 |
line wrap: on
line diff
--- a/ppe/chara_state32.cc Sun Jan 09 19:47:52 2011 +0900 +++ b/ppe/chara_state32.cc Sun Jan 09 23:14:26 2011 +0900 @@ -18,9 +18,15 @@ if ((part4_f == FALSE) || (kyeenemyno->f == FALSE)) { + length = 1; + smanager->set_outputSize(2, sizeof(ObjContainer)+sizeof(ObjData)*(length-1)); + smanager->setup_outputData(); CHARACTER *q = (CHARACTER*)smanager->get_output(wbuf, 0); + ObjContainerPtr sprite = (ObjContainerPtr)smanager->get_output(wbuf, 2); + sprite->flag = true; + sprite->length = length; -// Bom(p->x, p->y); + Bom(p->x, p->y, &sprite->data[0]); p->f = FALSE; p->task = DELETE_CHARA;