Changeset 27700
- Timestamp:
- Jun 14, 2023, 9:48:45 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/simulation2/components/CCmpUnitMotion.h
r26865 r27700 1 /* Copyright (C) 202 2Wildfire Games.1 /* Copyright (C) 202 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 102 102 * TODO: if UnitMotion could send differentiated "unreachable" and "currently stuck" failing messages, 103 103 * this could probably be lowered. 104 * TODO: when unit pushing is implemented, this number can probably be lowered.105 104 */ 106 105 constexpr u8 MAX_FAILED_MOVEMENTS = 35; … … 1659 1658 ENSURE(cmpObstructionManager); 1660 1659 1661 entity_pos_t distance = cmpObstructionManager->DistanceBetweenShapes(obstruction, targetObstruction);1662 1663 1660 out.x = targetObstruction.x; 1664 1661 out.z = targetObstruction.z; … … 1676 1673 return true; 1677 1674 } 1675 1676 1678 1677 1679 1678 entity_pos_t circleRadius = CFixedVector2D(targetObstruction.hw, targetObstruction.hh).Length();
Note:
See TracChangeset
for help on using the changeset viewer.