diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-10 23:40:30 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-10 23:40:30 +0200 |
commit | dc878898f36473c4df54457d2738562df4dec908 (patch) | |
tree | 99e4daa3c37c8abe327605d61dd0081acb577d34 /source/UI/SlotArea.cpp | |
parent | Fixed gcc build (diff) | |
download | cuberite-dc878898f36473c4df54457d2738562df4dec908.tar cuberite-dc878898f36473c4df54457d2738562df4dec908.tar.gz cuberite-dc878898f36473c4df54457d2738562df4dec908.tar.bz2 cuberite-dc878898f36473c4df54457d2738562df4dec908.tar.lz cuberite-dc878898f36473c4df54457d2738562df4dec908.tar.xz cuberite-dc878898f36473c4df54457d2738562df4dec908.tar.zst cuberite-dc878898f36473c4df54457d2738562df4dec908.zip |
Diffstat (limited to '')
-rw-r--r-- | source/UI/SlotArea.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/UI/SlotArea.cpp b/source/UI/SlotArea.cpp index dd68f029d..00698acda 100644 --- a/source/UI/SlotArea.cpp +++ b/source/UI/SlotArea.cpp @@ -493,7 +493,7 @@ void cSlotAreaDispenser::Clicked(cPlayer & a_Player, int a_SlotNum, bool a_IsRig const cItem * cSlotAreaDispenser::GetSlot(int a_SlotNum, cPlayer & a_Player)
{
- return m_Dispenser->GetSlot(a_SlotNum);
+ return &(m_Dispenser->GetSlot(a_SlotNum));
}
|