diff options
Diffstat (limited to 'include/player.hpp')
-rw-r--r-- | include/player.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/player.hpp b/include/player.hpp index 17ce2c1..077e798 100644 --- a/include/player.hpp +++ b/include/player.hpp @@ -80,8 +80,7 @@ public: * Gets the width of the player. * @return the player's width, according to its sprite */ - static inline float getWidth(void) - { return game::entities.component<Solid>(player.id())->width; } + static float getWidth(void); }; #endif // PLAYER_HPP_ |