summaryrefslogtreecommitdiffstats
path: root/source/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-29 14:47:22 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-29 14:47:22 +0200
commit7056992d0d99fde627e00c5d7f524cad0a70073d (patch)
treed999ba9178beb3d029f409291e85fa69e29ccd42 /source/Protocol/ProtocolRecognizer.cpp
parentFixed Minecart spawning issues (diff)
downloadcuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.gz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.bz2
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.lz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.xz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.zst
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.zip
Diffstat (limited to 'source/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--source/Protocol/ProtocolRecognizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Protocol/ProtocolRecognizer.cpp b/source/Protocol/ProtocolRecognizer.cpp
index f406c1097..853018329 100644
--- a/source/Protocol/ProtocolRecognizer.cpp
+++ b/source/Protocol/ProtocolRecognizer.cpp
@@ -502,10 +502,10 @@ void cProtocolRecognizer::SendSpawnObject(const cEntity & a_Entity, char a_Objec
-void cProtocolRecognizer::SendSpawnVehicle(const cEntity & a_Vehicle, char a_VehicleType, char a_VehicleTypeType)
+void cProtocolRecognizer::SendSpawnVehicle(const cEntity & a_Vehicle, char a_VehicleType, char a_VehicleSubType)
{
ASSERT(m_Protocol != NULL);
- m_Protocol->SendSpawnVehicle(a_Vehicle, a_VehicleType, a_VehicleTypeType);
+ m_Protocol->SendSpawnVehicle(a_Vehicle, a_VehicleType, a_VehicleSubType);
}