mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
fix msvc builds?
This commit is contained in:
parent
72ea5d689b
commit
92d9268e25
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ private:
|
||||||
player.playScene( getId(), 1, HIDE_HOTBAR,
|
player.playScene( getId(), 1, HIDE_HOTBAR,
|
||||||
[ & ]( Entity::Player& player, const Event::SceneResult& result )
|
[ & ]( Entity::Player& player, const Event::SceneResult& result )
|
||||||
{
|
{
|
||||||
if( result.param2 == 1 && player.collectHandInItems( { Ritem0 } ) )
|
if( result.param2 == 1 && player.collectHandInItems( { uint32_t{ Ritem0 } } ) )
|
||||||
{
|
{
|
||||||
Scene00100( player );
|
Scene00100( player );
|
||||||
}
|
}
|
||||||
|
|
|
@ -795,7 +795,7 @@ uint8_t Core::Entity::Player::getFreeSlotsInBags()
|
||||||
bool Core::Entity::Player::collectHandInItems( std::vector< uint32_t > itemIds )
|
bool Core::Entity::Player::collectHandInItems( std::vector< uint32_t > itemIds )
|
||||||
{
|
{
|
||||||
// todo: figure out how the game gets the required stack count
|
// todo: figure out how the game gets the required stack count
|
||||||
auto& container = m_storageMap[HandIn];
|
const auto& container = m_storageMap[ HandIn ];
|
||||||
|
|
||||||
std::vector< uint8_t > foundItems;
|
std::vector< uint8_t > foundItems;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue