1
0

Improved Type safety of eBlockFace

May Fix #640
This commit is contained in:
Tycho
2014-02-04 10:59:05 -08:00
parent 3dc1452790
commit 8464f689ea
76 changed files with 194 additions and 174 deletions

View File

@@ -476,7 +476,7 @@ int cProtocol132::ParseBlockPlace(void)
HANDLE_PACKET_READ(ReadChar, char, CursorY);
HANDLE_PACKET_READ(ReadChar, char, CursorZ);
m_Client->HandleRightClick(PosX, PosY, PosZ, BlockFace, CursorX, CursorY, CursorZ, HeldItem);
m_Client->HandleRightClick(PosX, PosY, PosZ, static_cast<eBlockFace>(BlockFace), CursorX, CursorY, CursorZ, HeldItem);
return PARSE_OK;
}