diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-10 22:34:47 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-10 22:34:47 +0100 |
commit | e7731242c1315df230bffbf0593e1a608aa791a3 (patch) | |
tree | 803b09ea2e4485d979f2ed13b231e62237191861 /source/cPickup.cpp | |
parent | Fixed mob spawn packet for 1.2 client, now client doesn't bail out when mobs are turned on (diff) | |
download | cuberite-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.cpp | 2 |
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()));
}
}
|