Pārlūkot izejas kodu

Removed unused rule SpeedRatio

Image 4 gadi atpakaļ
vecāks
revīzija
c724918484

+ 1 - 1
EQ2/source/WorldServer/Rules/Rules.cpp

@@ -211,7 +211,7 @@ RuleManager::RuleManager() {
 	RULE_INIT(R_Combat, MaxCombatRange, "4.0");
 	/* SPAWN */
 	RULE_INIT(R_Spawn, SpeedMultiplier, "300"); // note: this value was 1280 until 6/1/2009, then was 600 til Sep 2009, when it became 300...?
-	RULE_INIT(R_Spawn, SpeedRatio, "0");		// was 1280/7.5 and 600/7.5 until it became 300.
+	//RULE_INIT(R_Spawn, SpeedRatio, "0");		// was 1280/7.5 and 600/7.5 until it became 300.
 
 	/* TIMER */
 	

+ 1 - 1
EQ2/source/WorldServer/Rules/Rules.h

@@ -80,7 +80,7 @@ enum RuleType {
 
 	/* SPAWN */
 	SpeedMultiplier,
-	SpeedRatio,
+	//SpeedRatio,
 
 	/* UI */
 	MaxWhoResults,

+ 0 - 1
EQ2/source/WorldServer/Spawn.cpp

@@ -1441,7 +1441,6 @@ void Spawn::InitializePosPacketData(Player* player, PacketStruct* packet, bool b
 	//packet->setDataByName("pos_unknown2", 4, 2);
 
 	int16 speed_multiplier = rule_manager.GetGlobalRule(R_Spawn, SpeedMultiplier)->GetInt16(); // was 1280, 600 and now 300... investigating why
-	//float speed_ratio = rule_manager.GetGlobalRule(R_Spawn, SpeedRatio)->GetFloat(); // was 7.5 for 1280 and 600, then 0 for 300... investigating why
 
 	if (IsPlayer()) {
 		Player* player = static_cast<Player*>(this);