Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1016 vs 1017 for /trunk/Source Code/Scenes/TenisScene/TenisSceneAIProcessor.cpp

Diff revisions: vs.
  @@ -44,10 +44,7 @@
44 44 break;
45 45 case AIMsg::RECEIVE_DISTANCE_TO_TARGET: {
46 46 assert(_entity->getTeam());
47 - bool success = false;
48 - _entity->getTeam()->getMemberVariable()[&sender] =
49 - msg_content.constant_cast<F32>(success);
50 - assert(success);
47 + _entity->getTeam()->getMemberVariable()[&sender] = msg_content.constant_cast<F32>();
51 48 } break;
52 49 case AIMsg::ATTACK_BALL:
53 50 currentTeam = _entity->getTeam();