Browse Source

Fix for lifts (and boats) manipulating player position

Fix #134
Image 3 years ago
parent
commit
8cde83ae9c

BIN
EQ2/devtools/EQ2ModelViewer/EQ2ModelViewer/bin/Release/Spart.dll


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

@@ -2098,6 +2098,10 @@ void Spawn::InitializeInfoPacketData(Player* spawn, PacketStruct* packet){
 
 		if (EngagedInCombat())
 			temp_activity_status += ACTIVITY_STATUS_INCOMBAT_1188;
+
+		// if this is either a boat or lift let the client be manipulated by the object
+		if (appearance.icon == 28 || appearance.icon == 12)
+			temp_activity_status += ACTIVITY_STATUS_ISTRANSPORT_1188;
 	}
 	else
 	{