aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/RecordingItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/RecordingItem.cpp')
-rw-r--r--Minecraft.World/RecordingItem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Minecraft.World/RecordingItem.cpp b/Minecraft.World/RecordingItem.cpp
index 24be1190..dffd38c6 100644
--- a/Minecraft.World/RecordingItem.cpp
+++ b/Minecraft.World/RecordingItem.cpp
@@ -17,7 +17,7 @@ Icon *RecordingItem::getIcon(int auxValue)
return icon;
}
-bool RecordingItem::useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
+bool RecordingItem::useOn(std::shared_ptr<ItemInstance> itemInstance, std::shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
{
// 4J-PB - Adding a test only version to allow tooltips to be displayed
if (level->getTile(x, y, z) == Tile::recordPlayer_Id && level->getData(x, y, z) == 0)
@@ -40,9 +40,9 @@ bool RecordingItem::useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Play
return false;
}
-void RecordingItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings)
+void RecordingItem::appendHoverText(std::shared_ptr<ItemInstance> itemInstance, std::shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings)
{
- eMinecraftColour rarityColour = getRarity(shared_ptr<ItemInstance>())->color;
+ eMinecraftColour rarityColour = getRarity(std::shared_ptr<ItemInstance>())->color;
int colour = app.GetHTMLColour(rarityColour);
wchar_t formatted[256];
@@ -53,7 +53,7 @@ void RecordingItem::appendHoverText(shared_ptr<ItemInstance> itemInstance, share
unformattedStrings.push_back(recording);
}
-const Rarity *RecordingItem::getRarity(shared_ptr<ItemInstance> itemInstance)
+const Rarity *RecordingItem::getRarity(std::shared_ptr<ItemInstance> itemInstance)
{
return (Rarity *)Rarity::rare;
}