fixed server sending wrong position of node removal
authorPerttu Ahola <celeron55@gmail.com>
Mon, 28 Feb 2011 14:40:25 +0000 (16:40 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 28 Feb 2011 14:40:25 +0000 (16:40 +0200)
src/server.cpp

index 25491619590b97b7d3c3d75a5e8eec1c50511fac..9171c79668e46acdf4d89158f5ca83931e6ae54f 100644 (file)
@@ -2036,7 +2036,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
                        /*
                                Send the removal to all other clients
                        */
-                       sendRemoveNode(p_over, peer_id);
+                       sendRemoveNode(p_under, peer_id);
                        
                        /*
                                Update and send inventory