diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 23:14:53 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 23:14:53 +1000 |
commit | f6f91b18e834a5401f37217d09b69593de3cb4a5 (patch) | |
tree | b5d4c6662eb75708cb22282c27b97307d62fa042 /source/game/StarWorldClient.cpp | |
parent | cd36a269fd1ccfd40ec09aca25285c6f9a875c43 (diff) |
Various improvements
You can now right click empty slots to insert one from swap.
Added unique sounds for the swap slot count incrementing/decrementing.
Material placement now plays sounds.
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index 17a1996..d3fbdce 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -1126,6 +1126,7 @@ void WorldClient::update(float dt) { if (itemDrop->canTake() && !m_requestedDrops.contains(itemDrop->entityId()) && distSquared < square(DropDist)) { m_requestedDrops.add(itemDrop->entityId()); if (m_mainPlayer->itemsCanHold(itemDrop->item()) != 0) { + m_startupHiddenEntities.erase(itemDrop->entityId()); itemDrop->takeBy(m_mainPlayer->entityId(), (float)m_latency / 1000); m_outgoingPackets.append(make_shared<RequestDropPacket>(itemDrop->entityId())); } |