Quote:
Originally Posted by anaahmed10
I tried add Alignment but not work @@
in char.cpp
if (IsPet()){
addPacket.dwLevel = GetLevel();
addPacket.sAlignment = m_iAlignment / 10;
}
else{
addPacket.sAlignment = 0;
addPacket.dwLevel = 0;
}
}
in petsystem.cpp
m_pkChar->GetAlignment();
|
no need for doing this.
you simply have to set the internal alignment value of the m_pkChar element of the char class.
the alignment allways travels right within the packet and also is allways shown if it´s value is bigger than 0 .