Browse Source

core: fix uninitialised WorldEntity members.

legacy
Sam Hocevar sam 13 years ago
parent
commit
233ad8bb89
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/worldentity.cpp

+ 10
- 0
src/worldentity.cpp View File

@@ -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()


Loading…
Cancel
Save