Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CInputLogin::Entergame(LPDESC d, const char * data)
- {
- LPCHARACTER ch;
- if (!(ch = d->GetCharacter()))
- {
- d->SetPhase(PHASE_CLOSE);
- return;
- }
- #ifdef __ALIGNMENT_BONUS__
- if (GetRealAlignment() == NAME_ALIGNMENT_1)
- {
- AddAffect(ALIGNMENT_BONUS_1, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_1, 0, ALIGNMENT_TIME, 0, true);
- }
- if (GetRealAlignment() == NAME_ALIGNMENT_2)
- {
- AddAffect(ALIGNMENT_BONUS_2, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_2, 0, ALIGNMENT_TIME, 0, true);
- }
- #endif
- PIXEL_POSITION pos = ch->GetXYZ();
- [...]
Advertisement
Add Comment
Please, Sign In to add comment