diff options
Diffstat (limited to '')
-rw-r--r-- | src/Enchantments.h | 2 | ||||
-rw-r--r-- | src/Entities/Entity.cpp | 8 | ||||
-rw-r--r-- | src/Entities/Player.cpp | 2 | ||||
-rw-r--r-- | src/OSSupport/Errors.cpp | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/Enchantments.h b/src/Enchantments.h index acc15dc7e..1119f7e2f 100644 --- a/src/Enchantments.h +++ b/src/Enchantments.h @@ -40,7 +40,7 @@ Serialization will never put zero-level enchantments into the stringspec and wil class cEnchantments { public: - /** Individual enchantment IDs, corresponding to their NBT IDs: http://www.minecraftwiki.net/wiki/Data_Values#Enchantment_IDs + /** Individual enchantment IDs, corresponding to their NBT IDs: http://minecraft.gamepedia.com/Data_values#Enchantment_IDs */ enum eEnchantment diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 48d07fbbc..d155d9d9d 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -674,7 +674,7 @@ bool cEntity::DoTakeDamage(TakeDamageInfo & a_TDI) int cEntity::GetRawDamageAgainst(const cEntity & a_Receiver) { // Returns the hitpoints that this pawn can deal to a_Receiver using its equipped items - // Ref: http://www.minecraftwiki.net/wiki/Damage#Dealing_damage as of 2012_12_20 + // Ref: http://minecraft.gamepedia.com/Damage#Dealing_damage as of 2012_12_20 switch (this->GetEquippedWeapon().m_ItemType) { case E_ITEM_WOODEN_SWORD: return 4; @@ -711,7 +711,7 @@ int cEntity::GetRawDamageAgainst(const cEntity & a_Receiver) bool cEntity::ArmorCoversAgainst(eDamageType a_DamageType) { - // Ref.: http://www.minecraftwiki.net/wiki/Armor#Effects as of 2012_12_20 + // Ref.: http://minecraft.gamepedia.com/Armor#Effects as of 2012_12_20 switch (a_DamageType) { case dtOnFire: @@ -761,7 +761,7 @@ int cEntity::GetArmorCoverAgainst(const cEntity * a_Attacker, eDamageType a_Dama } // Add up all armor points: - // Ref.: http://www.minecraftwiki.net/wiki/Armor#Defense_points as of 2012_12_20 + // Ref.: http://minecraft.gamepedia.com/Armor#Defense_points as of 2012_12_20 int ArmorValue = 0; switch (GetEquippedHelmet().m_ItemType) { @@ -797,7 +797,7 @@ int cEntity::GetArmorCoverAgainst(const cEntity * a_Attacker, eDamageType a_Dama } // TODO: Special armor cases, such as wool, saddles, dog's collar - // Ref.: http://www.minecraftwiki.net/wiki/Armor#Mob_armor as of 2012_12_20 + // Ref.: http://minecraft.gamepedia.com/Armor#Mob_armor as of 2012_12_20 // Now ArmorValue is in [0, 20] range, which corresponds to [0, 80%] protection. Calculate the hitpoints from that: return a_Damage * (ArmorValue * 4) / 100; diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index ce3b8b195..f3ea45cf4 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -2316,7 +2316,7 @@ void cPlayer::TickBurning(cChunk & a_Chunk) void cPlayer::HandleFood(void) { - // Ref.: http://www.minecraftwiki.net/wiki/Hunger + // Ref.: http://minecraft.gamepedia.com/Hunger if (IsGameModeCreative() || IsGameModeSpectator()) { diff --git a/src/OSSupport/Errors.cpp b/src/OSSupport/Errors.cpp index 004cbaccc..a6a66c73c 100644 --- a/src/OSSupport/Errors.cpp +++ b/src/OSSupport/Errors.cpp @@ -20,7 +20,7 @@ AString GetOSErrorString( int a_ErrNo) #else // _WIN32 - // According to http://linux.die.net/man/3/strerror_r there are two versions of strerror_r(): + // According to https://linux.die.net/man/3/strerror_r there are two versions of strerror_r(): #if defined(__GLIBC__) && defined( _GNU_SOURCE) && !defined(ANDROID) // GNU version of strerror_r() |