Skip to content

Commit a884148

Browse files
committed
Remove unused variable
1 parent 55154b2 commit a884148

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/object/ispy.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ Ispy::Ispy(const ReaderMapping& reader) :
2828
MovingSprite(reader, "images/objects/ispy/ispy.sprite", LAYER_TILES + 5, COLGROUP_DISABLED),
2929
m_state(ISPYSTATE_IDLE),
3030
m_script(),
31-
m_dir(Direction::AUTO),
32-
m_facing_down(false)
31+
m_dir(Direction::AUTO)
3332
{
3433
reader.get("script", m_script);
3534

src/object/ispy.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class Ispy final : public MovingSprite
5050

5151
std::string m_script; /**< script to execute when Tux is spotted */
5252
Direction m_dir;
53-
bool m_facing_down;
5453

5554
private:
5655
Ispy(const Ispy&) = delete;

0 commit comments

Comments
 (0)