diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:38:04 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-09 12:38:04 +0100 |
commit | b2929c9e6ebaa3edbc6f02720e078a2e356d2146 (patch) | |
tree | a6a3b6e5ddb7f2c4636c2d75bb5f5b2390cea3fd /src/Entities/Minecart.h | |
parent | Turned off Wunused-parameter (diff) | |
parent | Added static (diff) | |
download | cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.gz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.bz2 cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.lz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.xz cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.tar.zst cuberite-b2929c9e6ebaa3edbc6f02720e078a2e356d2146.zip |
Diffstat (limited to 'src/Entities/Minecart.h')
-rw-r--r-- | src/Entities/Minecart.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h index 073e78953..ebdb576e0 100644 --- a/src/Entities/Minecart.h +++ b/src/Entities/Minecart.h @@ -122,7 +122,7 @@ public: const cItem & GetSlot(int a_Idx) const { return m_Items[a_Idx]; } cItem & GetSlot(int a_Idx) { return m_Items[a_Idx]; } - void SetSlot(int a_Idx, const cItem & a_Item); + void SetSlot(size_t a_Idx, const cItem & a_Item); protected: @@ -193,4 +193,4 @@ public: CLASS_PROTODEF(cMinecartWithHopper); cMinecartWithHopper(double a_X, double a_Y, double a_Z); -} ;
\ No newline at end of file +} ; |