Fixed warnings.
This commit is contained in:
parent
a2de030cbc
commit
027006c966
2 changed files with 2 additions and 1 deletions
|
@ -160,10 +160,12 @@ Game::mouseDown(const sf::Event& event) {
|
|||
case sf::Mouse::Right:
|
||||
mPlayer->setDestination(convertCoordinates(event.mouseButton.x,
|
||||
event.mouseButton.y));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles mouse key up events.
|
||||
*/
|
||||
|
|
|
@ -38,7 +38,6 @@ private:
|
|||
* Redundant data as portals are saved twice.
|
||||
*/
|
||||
struct Pathfinder::Portal {
|
||||
Portal() = default;
|
||||
bool operator==(const Portal& p);
|
||||
sf::Vector2i start;
|
||||
sf::Vector2i end;
|
||||
|
|
Reference in a new issue