Fixed warnings.

This commit is contained in:
Felix Ableitner 2013-05-01 18:04:41 +02:00
parent a2de030cbc
commit 027006c966
2 changed files with 2 additions and 1 deletions

View file

@ -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.
*/

View file

@ -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;