- Timestamp:
- 08/21/11 02:09:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/simulation2/components/CCmpTerritoryManager.cpp
r10034 r10045 622 622 623 623 boundaries.push_back(TerritoryBoundary()); 624 boundaries.back().connected = (owner & TERRITORY_CONNECTED_MASK) ;624 boundaries.back().connected = (owner & TERRITORY_CONNECTED_MASK) != 0; 625 625 boundaries.back().owner = (owner & TERRITORY_PLAYER_MASK); 626 626 std::vector<CVector2D>& points = boundaries.back().points; … … 844 844 845 845 NearestTile(x, z, i, j, m_Territories->m_W, m_Territories->m_H); 846 return m_Territories->get(i, j) & TERRITORY_CONNECTED_MASK;846 return (m_Territories->get(i, j) & TERRITORY_CONNECTED_MASK) != 0; 847 847 } 848 848
Note:
See TracChangeset
for help on using the changeset viewer.
