summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-24 01:30:20 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-24 01:30:20 +0200
commit4d2c810c64c38fd5530170d5c4d54956a5587fb2 (patch)
tree17c07b1a6eef15c83279f4530281bf7b986b06a3 /source/World.h
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadcuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar.gz
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar.bz2
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar.lz
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar.xz
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.tar.zst
cuberite-4d2c810c64c38fd5530170d5c4d54956a5587fb2.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/World.h b/source/World.h
index 25bc0b338..633ce969e 100644
--- a/source/World.h
+++ b/source/World.h
@@ -347,10 +347,10 @@ public:
// tolua_begin
/// Spawns item pickups for each item in the list. May compress pickups if too many entities:
- void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed = 1.0);
+ void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed = 1.0, bool IsPlayerCreated = false);
/// Spawns item pickups for each item in the list. May compress pickups if too many entities. All pickups get the speed specified:
- void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ);
+ void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ, bool IsPlayerCreated = false);
/// Spawns a new primed TNT entity at the specified block coords and specified fuse duration. Initial velocity is given based on the relative coefficient provided
void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec, double a_InitialVelocityCoeff = 1);