Changeset 111 for trunk/src/game/World.cpp
- Timestamp:
- 11/19/08 13:37:03 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/World.cpp
r110 r111 767 767 m_configs[CONFIG_THREAT_RADIUS] = sConfig.GetIntDefault("ThreatRadius", 100); 768 768 769 // always use declined names in the russian client769 // always use declined names in the Russian client 770 770 m_configs[CONFIG_DECLINED_NAMES_USED] = 771 771 (m_configs[CONFIG_REALM_ZONE] == REALM_ZONE_RUSSIAN) ? true : sConfig.GetBoolDefault("DeclinedNames", false); … … 775 775 m_configs[CONFIG_LISTEN_RANGE_YELL] = sConfig.GetIntDefault("ListenRange.Yell", 300); 776 776 777 m_configs[CONFIG_PLAYER_START_GOLD] = sConfig.GetFloatDefault("PlayerStart.Gold", 0); 778 if(m_configs[CONFIG_PLAYER_START_GOLD] < 0) 779 m_configs[CONFIG_PLAYER_START_GOLD] = 0; 777 m_configs[CONFIG_PLAYER_START_GOLD] = (uint32)(sConfig.GetFloatDefault("PlayerStart.Gold", 0.0f) * 10000.0f); 780 778 781 779 if(m_configs[CONFIG_PLAYER_START_GOLD] > MAX_MONEY_AMOUNT)