mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
propogate player smart-pointer usage
This commit is contained in:
parent
7c6b52cb2a
commit
0b31a19f47
5 changed files with 9 additions and 9 deletions
|
|
@ -645,6 +645,6 @@ void Hud::setPause(bool pause) {
|
|||
menu->setVisible(pause);
|
||||
}
|
||||
|
||||
Player* Hud::getPlayer() const {
|
||||
return frontend->getLevel()->player.get();
|
||||
std::shared_ptr<Player> Hud::getPlayer() const {
|
||||
return frontend->getLevel()->player;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue