# HG changeset patch # User kazz # Date 1275465866 -32400 # Node ID ba9e10f636ebb48634685498245cd1e21ef83a6b # Parent de64695a7f022b6fd6b736afc44e549728254a70 send_linda's bug fix, and replace wait_rd() to rd() on dynamic_load diff -r de64695a7f02 -r ba9e10f636eb Renderer/Test/dynamic_create.cc --- a/Renderer/Test/dynamic_create.cc Wed Jun 02 02:03:40 2010 +0900 +++ b/Renderer/Test/dynamic_create.cc Wed Jun 02 17:04:26 2010 +0900 @@ -98,7 +98,8 @@ if (reply != NULL) { set_position(node, reply); free(reply); - node->seq = psx_wait_rd(sgroot->tid, node->id * 10 + 1); +// node->seq = psx_wait_rd(sgroot->tid, node->id * 10 + 1); + node->seq = psx_rd(sgroot->tid, node->id * 10 + 1); } } @@ -118,7 +119,8 @@ sgroot->createFromXMLmemory(sgroot->tmanager, child, (char *)data, len); child->set_move_collision(moon_move, moon_collision); child->id = serial_id; - child->seq = psx_wait_rd(sgroot->tid, serial_id * 10 + 1); +// child->seq = psx_wait_rd(sgroot->tid, serial_id * 10 + 1); + child->seq = psx_rd(sgroot->tid, serial_id * 10 + 1); return child; } diff -r de64695a7f02 -r ba9e10f636eb Renderer/Test/send_linda.cc --- a/Renderer/Test/send_linda.cc Wed Jun 02 02:03:40 2010 +0900 +++ b/Renderer/Test/send_linda.cc Wed Jun 02 17:04:26 2010 +0900 @@ -24,7 +24,7 @@ { char *data; if (node->seq == 0) { - } else if ((data = (char *)psx_reply(node->seq)) == NULL) { + } else if ((data = (char *)psx_reply(node->seq)) != NULL) { psx_free(data); } else { node->resend_flag = 1;