Fixed compilation
STR_Warrior code had an error (I copied&pasted it before)
This commit is contained in:
parent
6e554c3b52
commit
984277f65e
@ -47,7 +47,7 @@ void cSheep::OnRightClicked(cPlayer & a_Player)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cItems Drops;
|
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));
|
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