auto > char
This commit is contained in:
parent
2ec73a3fbd
commit
d7c2c4acf3
@ -254,7 +254,7 @@ bool cHopperEntity::MovePickupsIn(cChunk & a_Chunk)
|
||||
{
|
||||
m_bFoundPickupsAbove = true;
|
||||
|
||||
char PreviousCount = m_Contents.GetSlot(i).m_ItemCount;
|
||||
auto PreviousCount = m_Contents.GetSlot(i).m_ItemCount;
|
||||
|
||||
Item.m_ItemCount -= m_Contents.ChangeSlotCount(i, Item.m_ItemCount) - PreviousCount; // Set count to however many items were added
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user