diff --git a/code/ryzom/server/src/entities_game_service/egs_variables.h b/code/ryzom/server/src/entities_game_service/egs_variables.h index 1b2b39d95..758b401c5 100644 --- a/code/ryzom/server/src/entities_game_service/egs_variables.h +++ b/code/ryzom/server/src/entities_game_service/egs_variables.h @@ -399,7 +399,9 @@ extern NLMISC::CVariable OutpostLeavePeriod; extern NLMISC::CVariable VerboseFactionPoint; // Newbieland +#ifdef RYZOM_FORGE extern NLMISC::CVariable UseNewNewbieLandStartingPoint; +#endif // New fame system diff --git a/code/ryzom/server/src/entities_game_service/player_manager/character.cpp b/code/ryzom/server/src/entities_game_service/player_manager/character.cpp index 2a3588119..873670929 100644 --- a/code/ryzom/server/src/entities_game_service/player_manager/character.cpp +++ b/code/ryzom/server/src/entities_game_service/player_manager/character.cpp @@ -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 ); }