summaryrefslogtreecommitdiffstats
path: root/source/cPickup.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-10 22:34:47 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-10 22:34:47 +0100
commite7731242c1315df230bffbf0593e1a608aa791a3 (patch)
tree803b09ea2e4485d979f2ed13b231e62237191861 /source/cPickup.cpp
parentFixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on (diff)
downloadcuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.gz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.bz2
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.lz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.xz
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.tar.zst
cuberite-e7731242c1315df230bffbf0593e1a608aa791a3.zip
Diffstat (limited to 'source/cPickup.cpp')
-rw-r--r--source/cPickup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cPickup.cpp b/source/cPickup.cpp
index cf71abab0..e8c0b80db 100644
--- a/source/cPickup.cpp
+++ b/source/cPickup.cpp
@@ -54,7 +54,7 @@ cPickup::cPickup(int a_X, int a_Y, int a_Z, const cItem & a_Item, float a_SpeedX
std::auto_ptr<cPacket> PickupSpawn(GetSpawnPacket());
if (PickupSpawn.get() != NULL)
{
- cRoot::Get()->GetServer()->Broadcast( PickupSpawn.get() );
+ cRoot::Get()->GetServer()->Broadcast(*(PickupSpawn.get()));
}
}