Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 58c0bb7

Browse files
committed
Const this otherwise this Luabind is angry
1 parent fce06b7 commit 58c0bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/MOSprite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ ENTITYALLOCATION(MOSprite)
622622
// Arguments: None.
623623
// Return value: 1 for not flipped, -1 for flipped.
624624

625-
virtual int GetFlipFactor() { return m_HFlipped ? -1 : 1; }
625+
int GetFlipFactor() const { return m_HFlipped ? -1 : 1; }
626626

627627

628628
//////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)