Fix adjustment for classic newbieland

ryzomclassic-develop
kaetemi 5 years ago
parent 2ad9e1c78a
commit 0e08489315

@ -399,7 +399,9 @@ extern NLMISC::CVariable<NLMISC::TGameCycle> OutpostLeavePeriod;
extern NLMISC::CVariable<bool> VerboseFactionPoint;
// Newbieland
#ifdef RYZOM_FORGE
extern NLMISC::CVariable<bool> UseNewNewbieLandStartingPoint;
#endif
// New fame system

@ -8383,11 +8383,18 @@ void CCharacter::setStartStatistics( const CCreateCharMsg& createCharMsg )
{
// FIXME: There's no safety on player race for starting zone. -Kaetemi
// See checkCreateParams for fixing this.
if(UseNewNewbieLandStartingPoint)
#ifdef RYZOM_FORGE
if (UseNewNewbieLandStartingPoint)
{
sp = RYZOM_STARTING_POINT::starting_city;
}
else
// sp = RYZOM_STARTING_POINT::stalli;
#else
{
// sp = RYZOM_STARTING_POINT::stalli;
sp = RYZOM_STARTING_POINT::starting_city;
}
#endif
nlwarning( "Invalid start point %d", sp );
}

Loading…
Cancel
Save