From 7ae0c13854d94ac2153cd3bb05ce18044b7cf8bb Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:36:56 +0700 Subject: Revert "dynamic_pointer_cast -> std::dynamic_pointer_cast" This reverts commit 07ad68bc156b3ab70401723bb074a29588ad3cb7. --- Minecraft.Client/PlayerList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Minecraft.Client/PlayerList.cpp') diff --git a/Minecraft.Client/PlayerList.cpp b/Minecraft.Client/PlayerList.cpp index b5450a59..9beea76b 100644 --- a/Minecraft.Client/PlayerList.cpp +++ b/Minecraft.Client/PlayerList.cpp @@ -1037,7 +1037,7 @@ void PlayerList::broadcast(std::shared_ptr except, double x, double y, d vector< std::shared_ptr > sentTo; if( except != NULL ) { - sentTo.push_back(std::dynamic_pointer_cast(except)); + sentTo.push_back(dynamic_pointer_cast(except)); } for (unsigned int i = 0; i < players.size(); i++) @@ -1080,7 +1080,7 @@ void PlayerList::broadcast(std::shared_ptr except, double x, double y, d if (xd * xd + yd * yd + zd * zd < range * range) { #if 0 // _DEBUG - std::shared_ptr SoundPacket= std::dynamic_pointer_cast(packet); + std::shared_ptr SoundPacket= dynamic_pointer_cast(packet); if(SoundPacket) { -- cgit v1.2.3