projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git]
/
src
/
object
/
portable.hpp
diff --git
a/src/object/portable.hpp
b/src/object/portable.hpp
index
52802ba
..
721879d
100644
(file)
--- a/
src/object/portable.hpp
+++ b/
src/object/portable.hpp
@@
-43,6
+43,11
@@
public:
virtual void ungrab(MovingObject& , Direction )
{}
virtual void ungrab(MovingObject& , Direction )
{}
+
+ virtual bool is_portable() const
+ {
+ return true;
+ }
};
#endif
};
#endif