Mercurial > hg > Members > koba > t_dandy
changeset 32:1b161e808240
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 31 Dec 2010 19:28:31 +0900 |
parents | ccb8d9956a1e |
children | 39e643fc4f90 |
files | state_task.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/state_task.cc Fri Dec 31 19:19:13 2010 +0900 +++ b/state_task.cc Fri Dec 31 19:28:31 2010 +0900 @@ -136,6 +136,7 @@ ObjDataPtr data = &new_obj->data[i]; Puttama(data->tama_type, data->x, data->y); } + break; case Enemy: for(int i=0; i < length; i++) { ObjDataPtr data = &new_obj->data[i]; @@ -143,6 +144,7 @@ Putenemy(data->charano, data->x, data->y, data->vx, data->vy, state_list[task_num]); } + break; } } int num = GetStateNum(p->task);