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:
@@ -36,7 +36,7 @@ void cTNTEntity::Explode(void)
|
||||
m_FuseTicks = 0;
|
||||
Destroy();
|
||||
FLOGD("BOOM at {0}", GetPosition());
|
||||
m_World->DoExplosionAt(4.0, GetPosX() + 0.49, GetPosY() + 0.49, GetPosZ() + 0.49, true, esPrimedTNT, this);
|
||||
m_World->DoExplosionAt(4.0, GetPosX(), GetPosY(), GetPosZ(), true, esPrimedTNT, this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user