1
0

Compilation fix

This commit is contained in:
Tiger Wang 2014-09-28 13:11:41 +01:00
parent 7ce09a9113
commit a9243257e5
2 changed files with 4 additions and 4 deletions

View File

@ -36,8 +36,8 @@ public:
cWorld * a_World // Optional world to assign to the entity cWorld * a_World // Optional world to assign to the entity
) : ) :
super(a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World), super(a_BlockType, a_BlockX, a_BlockY, a_BlockZ, a_World),
m_Contents(a_ItemGridWidth, a_ItemGridHeight), cBlockEntityWindowOwner(this),
cBlockEntityWindowOwner(this) m_Contents(a_ItemGridWidth, a_ItemGridHeight)
{ {
m_Contents.AddListener(*this); m_Contents.AddListener(*this);
} }

View File

@ -1106,8 +1106,8 @@ void cRideableMinecart::OnRightClicked(cPlayer & a_Player)
cMinecartWithChest::cMinecartWithChest(double a_X, double a_Y, double a_Z) : cMinecartWithChest::cMinecartWithChest(double a_X, double a_Y, double a_Z) :
super(mpChest, a_X, a_Y, a_Z), super(mpChest, a_X, a_Y, a_Z),
m_Contents(ContentsWidth, ContentsHeight), cEntityWindowOwner(this),
cEntityWindowOwner(this) m_Contents(ContentsWidth, ContentsHeight)
{ {
m_Contents.AddListener(*this); m_Contents.AddListener(*this);
} }