Fancy stuff with constant references
This commit is contained in:
parent
6ed4f476ce
commit
c0e7d6fec9
@ -198,7 +198,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk, Int64 a_CurrentTick)
|
|||||||
public cEntityCallback
|
public cEntityCallback
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cHopperPickupSearchCallback(const Vector3i a_Pos, cItemGrid & a_Contents) :
|
cHopperPickupSearchCallback(const Vector3i & a_Pos, cItemGrid & a_Contents) :
|
||||||
m_Pos(a_Pos),
|
m_Pos(a_Pos),
|
||||||
m_bFoundPickupsAbove(false),
|
m_bFoundPickupsAbove(false),
|
||||||
m_Contents(a_Contents)
|
m_Contents(a_Contents)
|
||||||
@ -265,7 +265,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk, Int64 a_CurrentTick)
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const Vector3i m_Pos;
|
Vector3i m_Pos;
|
||||||
bool m_bFoundPickupsAbove;
|
bool m_bFoundPickupsAbove;
|
||||||
cItemGrid & m_Contents;
|
cItemGrid & m_Contents;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user