1
0
Fork 0

Fix compilation, for real this time.

I should go to sleep now...
This commit is contained in:
Alexander Harkness 2020-04-10 01:01:07 +01:00
parent a780b3a4f5
commit 4b3043f627
No known key found for this signature in database
GPG Key ID: 5187245ADF160B76
5 changed files with 5 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ std::unique_ptr<cMonster> cMonster::NewMonsterFromType(eMonsterType a_MobType)
case mtWither: return cpp14::make_unique<cWither>();
case mtWitherSkeleton: return cpp14::make_unique<cWitherSkeleton>();
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>();
default:
{

View File

@ -577,6 +577,7 @@ UInt32 cProtocol_1_11_0::GetProtocolMobType(eMonsterType a_MobType)
case mtWolf: return 95;
case mtZombie: return 54;
case mtZombiePigman: return 57;
case mtZombieVillager: return 27;
}
UNREACHABLE("Unsupported mob type");
}

View File

@ -434,6 +434,7 @@ UInt32 cProtocol_1_13::GetProtocolMobType(eMonsterType a_MobType)
case mtWolf: return 86;
case mtZombie: return 87;
case mtZombiePigman: return 53;
case mtZombieVillager: return 27;
}
UNREACHABLE("Unsupported mob type");
}

View File

@ -1885,6 +1885,7 @@ UInt32 cProtocol_1_8_0::GetProtocolMobType(eMonsterType a_MobType)
case mtWolf: return 95;
case mtZombie: return 54;
case mtZombiePigman: return 57;
case mtZombieVillager: return 27;
}
UNREACHABLE("Unsupported mob type");
}

View File

@ -1941,6 +1941,7 @@ UInt32 cProtocol_1_9_0::GetProtocolMobType(eMonsterType a_MobType)
case mtWolf: return 95;
case mtZombie: return 54;
case mtZombiePigman: return 57;
case mtZombieVillager: return 27;
}
UNREACHABLE("Unsupported mob type");
}