diff --git a/src/worldentity.cpp b/src/worldentity.cpp index ffa77dcc..b1f7e8ee 100644 --- a/src/worldentity.cpp +++ b/src/worldentity.cpp @@ -26,6 +26,16 @@ namespace lol WorldEntity::WorldEntity() { + position = 0; + rotation = 0; + velocity = 0; + bbox[0] = bbox[1] = 0; + + mousepos = 0; + mousebuttons = 0; + pressed = 0; + clicked = 0; + released = 0; } WorldEntity::~WorldEntity()