mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-29 10:24:46 +00:00
fix: unglob all of /Build/Common
This commit is contained in:
@@ -64,7 +64,7 @@ HRESULT CScene_SignEntry::OnNotifyPressEx(HXUIOBJ hObjPressed, XUINotifyPress* p
|
||||
// Set the sign text here so we on;y call the verify once it has been set, not while we're typing in to it
|
||||
for(int i=0;i<4;i++)
|
||||
{
|
||||
wstring temp=m_signRows[i].GetText();
|
||||
std::wstring temp=m_signRows[i].GetText();
|
||||
m_sign->SetMessage(i,temp);
|
||||
}
|
||||
|
||||
@@ -74,10 +74,10 @@ HRESULT CScene_SignEntry::OnNotifyPressEx(HXUIOBJ hObjPressed, XUINotifyPress* p
|
||||
// need to send the new data
|
||||
if (pMinecraft->level->isClientSide)
|
||||
{
|
||||
shared_ptr<MultiplayerLocalPlayer> player = pMinecraft->localplayers[pNotifyPressData->UserIndex];
|
||||
std::shared_ptr<MultiplayerLocalPlayer> player = pMinecraft->localplayers[pNotifyPressData->UserIndex];
|
||||
if(player != NULL && player->connection && player->connection->isStarted())
|
||||
{
|
||||
player->connection->send( shared_ptr<SignUpdatePacket>( new SignUpdatePacket(m_sign->x, m_sign->y, m_sign->z, m_sign->IsVerified(), m_sign->IsCensored(), m_sign->GetMessages()) ) );
|
||||
player->connection->send( std::shared_ptr<SignUpdatePacket>( new SignUpdatePacket(m_sign->x, m_sign->y, m_sign->z, m_sign->IsVerified(), m_sign->IsCensored(), m_sign->GetMessages()) ) );
|
||||
}
|
||||
}
|
||||
app.CloseXuiScenes(pNotifyPressData->UserIndex);
|
||||
@@ -94,7 +94,7 @@ HRESULT CScene_SignEntry::OnKeyDown(XUIMessageInput* pInputData, BOOL& rfHandled
|
||||
case VK_PAD_B:
|
||||
case VK_ESCAPE:
|
||||
// user backed out, so wipe the sign
|
||||
wstring temp=L"";
|
||||
std::wstring temp=L"";
|
||||
|
||||
for(int i=0;i<4;i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user