🚫 👂 🐆
This commit is contained in:
@@ -38,11 +38,10 @@ bool Bullet::Update(World* world, float elapsedtime, int perframe, std::unordere
|
||||
else if (world->BlockAt(m_currentpos) != BTYPE_AIR) {
|
||||
if (chunkmod) {
|
||||
using namespace netprot;
|
||||
ChunkMod* cmod = *chunkmod;
|
||||
cmod = new ChunkMod();
|
||||
cmod->old_b_type = world->BlockAt(m_currentpos);
|
||||
cmod->b_type = BTYPE_AIR;
|
||||
cmod->pos = m_currentpos;
|
||||
*chunkmod = new ChunkMod();
|
||||
(*chunkmod)->old_b_type = world->BlockAt(m_currentpos);
|
||||
(*chunkmod)->b_type = BTYPE_AIR;
|
||||
(*chunkmod)->pos = m_currentpos;
|
||||
}
|
||||
|
||||
world->ChangeBlockAtPosition(BTYPE_AIR, m_currentpos);
|
||||
|
Reference in New Issue
Block a user