summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-19 15:23:40 +0200
committermadmaxoft <github@xoft.cz>2014-07-19 15:23:40 +0200
commit08748bafe26145cd61a179abd131a9dba6065450 (patch)
tree3e69eef8ca94d13b565da38b11699af2d4590e02 /src/Entities
parentCheckBasicStyle: Check spaces around commas. (diff)
downloadcuberite-08748bafe26145cd61a179abd131a9dba6065450.tar
cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.gz
cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.bz2
cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.lz
cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.xz
cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.zst
cuberite-08748bafe26145cd61a179abd131a9dba6065450.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index 7376441b4..698f77bf6 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -622,7 +622,8 @@ void cPlayer::FinishEating(void)
GetInventory().RemoveOneEquippedItem();
// if the food is mushroom soup, return a bowl to the inventory
- if( Item.m_ItemType == E_ITEM_MUSHROOM_SOUP ) {
+ if (Item.m_ItemType == E_ITEM_MUSHROOM_SOUP)
+ {
cItem emptyBowl(E_ITEM_BOWL, 1, 0, "");
GetInventory().AddItem(emptyBowl, true, true);
}