mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Code style.
This commit is contained in:
parent
30c80450e2
commit
8d96779a8e
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ void Core::Entity::Player::equipWeapon( ItemPtr pItem )
|
|||
|
||||
auto itemInfo = exdData->get< Core::Data::Item >( pItem->getId() );
|
||||
auto itemClassJob = itemInfo->classJobUse;
|
||||
auto classJobInfo = exdData->get< Core::Data::ClassJob >( (uint32_t)getClass() );
|
||||
auto currentParentClass = static_cast< ClassJob >(classJobInfo->classJobParent);
|
||||
auto classJobInfo = exdData->get< Core::Data::ClassJob >( ( uint32_t )getClass() );
|
||||
auto currentParentClass = static_cast< ClassJob >( classJobInfo->classJobParent );
|
||||
auto newClassJob = static_cast< ClassJob >( itemClassJob );
|
||||
|
||||
if( ( isClassJobUnlocked( newClassJob ) ) && ( currentParentClass != newClassJob ) )
|
||||
|
|
Loading…
Add table
Reference in a new issue