mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
Reworked ClientVersion into EQEmu::versions; Added EQEmu::versions::InventoryVersion
This commit is contained in:
1 parent
6bc60391fb
commit
b3475d7b50
66 files changed
+732
-561
No files matched your search
+3
-3
@@ -163,7 +163,7 @@ void Client::CalcItemBonuses(StatBonuses* newbon) {
|
||||
}
|
||||
|
||||
//Power Source Slot
|
||||
if (GetClientVersion() >= ClientVersion::SoF)
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::SoF)
|
||||
{
|
||||
const ItemInst* inst = m_inv[SlotPowerSource];
|
||||
if(inst)
|
||||
@@ -3293,7 +3293,7 @@ void Client::CalcItemScale() {
|
||||
changed = true;
|
||||
|
||||
//Power Source Slot
|
||||
if (GetClientVersion() >= ClientVersion::SoF)
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::SoF)
|
||||
{
|
||||
if(CalcItemScale(SlotPowerSource, SlotPowerSource))
|
||||
changed = true;
|
||||
@@ -3387,7 +3387,7 @@ void Client::DoItemEnterZone() {
|
||||
changed = true;
|
||||
|
||||
//Power Source Slot
|
||||
if (GetClientVersion() >= ClientVersion::SoF)
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::SoF)
|
||||
{
|
||||
if(DoItemEnterZone(SlotPowerSource, SlotPowerSource))
|
||||
changed = true;
|
||||
|
||||
Reference in new issue
Block a user