TNT position fixes (#4519)
* TNT position fixes * Don't add offset to explosion spawn coords * Don't make other entities push TNT * Correct initial TNT speed * Fix typo * Improvements * Revert unwanted change * Style fixes * Update format
This commit is contained in:
@@ -385,7 +385,7 @@ void cFireSimulator::RemoveFuelNeighbors(cChunk * a_Chunk, Vector3i a_RelPos)
|
||||
if (BlockType == E_BLOCK_TNT)
|
||||
{
|
||||
neighbor->SetBlock(relPos, E_BLOCK_AIR, 0);
|
||||
m_World.SpawnPrimedTNT(absPos, 0);
|
||||
m_World.SpawnPrimedTNT(Vector3d(absPos) + Vector3d(0.5, 0.5, 0.5)); // 80 ticks to boom
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user