fix segfault
This commit is contained in:
@@ -29,7 +29,7 @@ public:
|
||||
|
||||
float getX() const noexcept { return x; }
|
||||
float getY() const noexcept { return y; }
|
||||
virtual size_t getWidth() const noexcept { return getImage()[0].length(); }
|
||||
virtual int getWidth() const noexcept { return getImage()[0].length(); }
|
||||
size_t getId() const noexcept { return entity_id; }
|
||||
|
||||
virtual void update() noexcept = 0;
|
||||
|
||||
Reference in New Issue
Block a user