1
0

Fixed compilation

STR_Warrior code had an error (I copied&pasted it before)
This commit is contained in:
tonibm19 2013-10-28 19:47:38 +01:00
parent 6e554c3b52
commit 984277f65e

View File

@ -47,7 +47,7 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
}
cItems Drops;
int NumDrops = m_World->GetTickRandomumber(2) + 1
int NumDrops = m_World->GetTickRandomNumber(2) + 1;
Drops.push_back(cItem(E_BLOCK_WOOL, NumDrops, m_WoolColor));
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
}