Fixed indentation in tonibm19's code.
This commit is contained in:
parent
65b43604a5
commit
1eac38f3d7
@ -47,9 +47,9 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cItems Drops;
|
cItems Drops;
|
||||||
int NumDrops = m_World->GetTickRandomNumber(2) + 1;
|
int NumDrops = m_World->GetTickRandomNumber(2) + 1;
|
||||||
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
|
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
|
||||||
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user