Merge from master

This commit is contained in:
akkadius
2014-09-17 20:16:37 -05:00
31 changed files with 2373 additions and 2861 deletions
+13
View File
@@ -1402,6 +1402,7 @@ bool Client::OPCharCreate(char *name, CharCreate_Struct *cc) {
SetRacialLanguages( &pp );
SetRaceStartingSkills( &pp );
SetClassStartingSkills( &pp );
SetClassLanguages(&pp);
pp.skills[SkillSenseHeading] = 200;
// Some one fucking fix this to use a field name. -Doodman
//pp.unknown3596[28] = 15; // @bp: This is to enable disc usage
@@ -1981,3 +1982,15 @@ void Client::SetRacialLanguages( PlayerProfile_Struct *pp )
}
}
void Client::SetClassLanguages(PlayerProfile_Struct *pp)
{
// we only need to handle one class, but custom server might want to do more
switch(pp->class_) {
case ROGUE:
pp->languages[LANG_THIEVES_CANT] = 100;
break;
default:
break;
}
}