Fix compilation, for real this time.
I should go to sleep now...
This commit is contained in:
parent
a780b3a4f5
commit
4b3043f627
@ -1226,7 +1226,7 @@ std::unique_ptr<cMonster> cMonster::NewMonsterFromType(eMonsterType a_MobType)
|
|||||||
case mtWither: return cpp14::make_unique<cWither>();
|
case mtWither: return cpp14::make_unique<cWither>();
|
||||||
case mtWitherSkeleton: return cpp14::make_unique<cWitherSkeleton>();
|
case mtWitherSkeleton: return cpp14::make_unique<cWitherSkeleton>();
|
||||||
case mtWolf: return cpp14::make_unique<cWolf>();
|
case mtWolf: return cpp14::make_unique<cWolf>();
|
||||||
case mtZombie: return cpp14::make_unique<cZombie>(false); // TODO: Infected zombie parameter
|
case mtZombie: return cpp14::make_unique<cZombie>();
|
||||||
case mtZombiePigman: return cpp14::make_unique<cZombiePigman>();
|
case mtZombiePigman: return cpp14::make_unique<cZombiePigman>();
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
@ -577,6 +577,7 @@ UInt32 cProtocol_1_11_0::GetProtocolMobType(eMonsterType a_MobType)
|
|||||||
case mtWolf: return 95;
|
case mtWolf: return 95;
|
||||||
case mtZombie: return 54;
|
case mtZombie: return 54;
|
||||||
case mtZombiePigman: return 57;
|
case mtZombiePigman: return 57;
|
||||||
|
case mtZombieVillager: return 27;
|
||||||
}
|
}
|
||||||
UNREACHABLE("Unsupported mob type");
|
UNREACHABLE("Unsupported mob type");
|
||||||
}
|
}
|
||||||
|
@ -434,6 +434,7 @@ UInt32 cProtocol_1_13::GetProtocolMobType(eMonsterType a_MobType)
|
|||||||
case mtWolf: return 86;
|
case mtWolf: return 86;
|
||||||
case mtZombie: return 87;
|
case mtZombie: return 87;
|
||||||
case mtZombiePigman: return 53;
|
case mtZombiePigman: return 53;
|
||||||
|
case mtZombieVillager: return 27;
|
||||||
}
|
}
|
||||||
UNREACHABLE("Unsupported mob type");
|
UNREACHABLE("Unsupported mob type");
|
||||||
}
|
}
|
||||||
|
@ -1885,6 +1885,7 @@ UInt32 cProtocol_1_8_0::GetProtocolMobType(eMonsterType a_MobType)
|
|||||||
case mtWolf: return 95;
|
case mtWolf: return 95;
|
||||||
case mtZombie: return 54;
|
case mtZombie: return 54;
|
||||||
case mtZombiePigman: return 57;
|
case mtZombiePigman: return 57;
|
||||||
|
case mtZombieVillager: return 27;
|
||||||
}
|
}
|
||||||
UNREACHABLE("Unsupported mob type");
|
UNREACHABLE("Unsupported mob type");
|
||||||
}
|
}
|
||||||
|
@ -1941,6 +1941,7 @@ UInt32 cProtocol_1_9_0::GetProtocolMobType(eMonsterType a_MobType)
|
|||||||
case mtWolf: return 95;
|
case mtWolf: return 95;
|
||||||
case mtZombie: return 54;
|
case mtZombie: return 54;
|
||||||
case mtZombiePigman: return 57;
|
case mtZombiePigman: return 57;
|
||||||
|
case mtZombieVillager: return 27;
|
||||||
}
|
}
|
||||||
UNREACHABLE("Unsupported mob type");
|
UNREACHABLE("Unsupported mob type");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user