summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Mooshroom.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/Mooshroom.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/Mooshroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Mooshroom.cpp b/src/Mobs/Mooshroom.cpp
index 3e4cb7154..35eb7f3d1 100644
--- a/src/Mobs/Mooshroom.cpp
+++ b/src/Mobs/Mooshroom.cpp
@@ -65,7 +65,7 @@ void cMooshroom::OnRightClicked(cPlayer & a_Player)
}
cItems Drops;
- Drops.emplace_back(E_BLOCK_RED_MUSHROOM, char(5), char(0));
+ Drops.emplace_back(E_BLOCK_RED_MUSHROOM, static_cast<char>(5), static_cast<char>(0));
m_World->SpawnItemPickups(Drops, GetPosX(), GetPosY(), GetPosZ(), 10);
m_World->SpawnMob(GetPosX(), GetPosY(), GetPosZ(), mtCow, false);
Destroy();