From 427e582d5fcbd5025a81a4e89ccada47877ccc64 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 19:42:32 +0000 Subject: Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. git-svn-id: http://mc-server.googlecode.com/svn/trunk@761 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSignEntity.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cSignEntity.cpp') diff --git a/source/cSignEntity.cpp b/source/cSignEntity.cpp index 80e10621e..eefcf4ccd 100644 --- a/source/cSignEntity.cpp +++ b/source/cSignEntity.cpp @@ -83,9 +83,9 @@ AString cSignEntity::GetLine( int a_Index ) const cPacket * cSignEntity::GetPacket(void) { cPacket_UpdateSign * Sign = new cPacket_UpdateSign; - Sign->m_PosX = m_PosX; - Sign->m_PosY = (short)m_PosY; - Sign->m_PosZ = m_PosZ; + Sign->m_BlockX = m_PosX; + Sign->m_BlockY = (short)m_PosY; + Sign->m_BlockZ = m_PosZ; Sign->m_Line1 = m_Line[0]; Sign->m_Line2 = m_Line[1]; Sign->m_Line3 = m_Line[2]; -- cgit v1.2.3