aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/Tutorial/RideEntityTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/Tutorial/RideEntityTask.cpp')
-rw-r--r--Minecraft.Client/Common/Tutorial/RideEntityTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Common/Tutorial/RideEntityTask.cpp b/Minecraft.Client/Common/Tutorial/RideEntityTask.cpp
index 29fe592d..29b77645 100644
--- a/Minecraft.Client/Common/Tutorial/RideEntityTask.cpp
+++ b/Minecraft.Client/Common/Tutorial/RideEntityTask.cpp
@@ -23,7 +23,7 @@ bool RideEntityTask::isCompleted()
void RideEntityTask::onRideEntity(shared_ptr<Entity> entity)
{
- if (entity->instanceof((eINSTANCEOF) m_eType))
+ if (entity->instanceof(static_cast<eINSTANCEOF>(m_eType)))
{
bIsCompleted = true;
}