summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Pig.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-01-14 19:21:10 +0100
committerAlexander Harkness <me@bearbin.net>2022-01-14 20:43:29 +0100
commitda0fdbe113e9b3a5254822a20a8ca2595cd661cb (patch)
treeb12753160572310ac7a6878319cca5afe728e2d6 /src/Mobs/Pig.cpp
parenteblockface (diff)
downloadcuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.gz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.bz2
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.lz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.xz
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.zst
cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Pig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Pig.cpp b/src/Mobs/Pig.cpp
index dc26caca9..5e7c18bf8 100644
--- a/src/Mobs/Pig.cpp
+++ b/src/Mobs/Pig.cpp
@@ -34,7 +34,7 @@ void cPig::GetDrops(cItems & a_Drops, cEntity * a_Killer)
AddRandomDropItem(a_Drops, 1, 3 + LootingLevel, IsOnFire() ? E_ITEM_COOKED_PORKCHOP : E_ITEM_RAW_PORKCHOP);
if (m_bIsSaddled)
{
- a_Drops.emplace_back(E_ITEM_SADDLE, char(1));
+ a_Drops.emplace_back(E_ITEM_SADDLE, static_cast<char>(1));
}
}