Mercurial > hg > Game > Cerium
diff TaskManager/Cell/CellTaskManagerImpl.cc @ 1462:8cf62aea798f draft
HTask/TaskList fix (on going)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Jul 2012 19:15:09 +0900 |
parents | db5c022d871c |
children | 3f2230d79eba |
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc Fri Mar 16 00:51:03 2012 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Sat Jul 14 19:15:09 2012 +0900 @@ -354,7 +354,9 @@ TaskListPtr CellTaskManagerImpl::createTaskList() { - return taskListInfo[0]->create(); + TaskListPtr tl = taskListInfo[0]->create(); + bzero(tl->tasks,sizeof(Task)*TASK_MAX_SIZE); + return tl; }