瀏覽代碼

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


Loading…
取消
儲存