浏览代码

core: fix uninitialised WorldEntity members.

legacy
Sam Hocevar sam 13 年前
父节点
当前提交
233ad8bb89
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. +10
    -0
      src/worldentity.cpp

+ 10
- 0
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()


正在加载...
取消
保存