diff options
Diffstat (limited to 'src/GameState.cpp')
-rw-r--r-- | src/GameState.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GameState.cpp b/src/GameState.cpp index e536df0..b9f9b28 100644 --- a/src/GameState.cpp +++ b/src/GameState.cpp @@ -168,8 +168,11 @@ void GameState::UpdatePacket() break; case Explosion: break; - case UnloadChunk: + case UnloadChunk: { + auto packet = std::static_pointer_cast<PacketUnloadChunk>(ptr); + world.ParseChunkData(packet); break; + } case ChangeGameState: break; case KeepAliveCB: |