Fixed compilatione error.

This commit is contained in:
hiker 2018-11-15 11:59:06 +11:00
parent 12c3a30385
commit c2481ba68c

4
src/items/network_item_manager.cpp Executable file → Normal file
View File

@ -496,8 +496,10 @@ void NetworkItemManager::restoreState(BareNetworkString *buffer, int count)
{
// A new item was dropped according to the server that is not
// yet part of the current state --> create new item
Vec3 xyz = is->getXYZ();
Vec3 normal = is->getNormal();
Item *item_new = dropNewItem(is->getType(), is->getPreviousOwner(),
&(is->getXYZ()), &(is->getNormal()) );
&xyz, &normal );
if (i != item_new->getItemId())
{
// The newly created item on the client has been given a