fix: check team when placing tower
This commit is contained in:
@@ -157,8 +157,8 @@ public:
|
||||
return m_TilePalette.at(index - 1);
|
||||
}
|
||||
|
||||
bool CanPlaceLittleTower(const glm::vec2& worldPos) const;
|
||||
bool CanPlaceBigTower(const glm::vec2& worldPos) const;
|
||||
bool CanPlaceLittleTower(const glm::vec2& worldPos, PlayerID player) const;
|
||||
bool CanPlaceBigTower(const glm::vec2& worldPos, PlayerID player) const;
|
||||
|
||||
const std::unordered_map<ChunkCoord, ChunkPtr>& getChunks() const { return m_Chunks; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user