Skip to content

Commit 0c360a5

Browse files
committed
Fixing errors
1 parent 10632f3 commit 0c360a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GameBoard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void GameBoard::PlaceSettlement(Coordinate location, Player& Owner){
134134
corners[location] = std::unique_ptr<GamePiece>(new Settlement(*this, location, Owner));
135135
}
136136

137-
void addResource(x, y, res, val)
137+
void addResource(int x, int y, resourceType res, int val)
138138
{
139139
GamePiece* newPiece = new ResourceTile(*this, Coordinate(x,y), res, val))
140140
this->resources[Coordinate(x,y)] = newPiece;

0 commit comments

Comments
 (0)