diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-05-09 14:21:25 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-24 19:02:18 +0200 |
commit | 73a3c4e3be1916bdd4830e7ce7454035a1f572f6 (patch) | |
tree | 95716ef6c87706de98866b0fa13f862dd07855ff /src/World.cpp | |
parent | Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) (diff) | |
download | cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.gz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.bz2 cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.lz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.xz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.zst cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index d4be3addb..f396aad86 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2282,9 +2282,9 @@ UInt32 cWorld::SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartT -UInt32 cWorld::SpawnBoat(double a_X, double a_Y, double a_Z) +UInt32 cWorld::SpawnBoat(double a_X, double a_Y, double a_Z, cBoat::eMaterial a_Material) { - cBoat * Boat = new cBoat(a_X, a_Y, a_Z); + cBoat * Boat = new cBoat(a_X, a_Y, a_Z, a_Material); if (Boat == nullptr) { return cEntity::INVALID_ID; |