Fixed door destroy logic

This commit is contained in:
mschiller890
2026-03-12 19:17:32 +01:00
parent f17a11c670
commit b4f54083dc
2 changed files with 22 additions and 7 deletions

View File

@@ -49,6 +49,9 @@ public:
int getResource(int data, Random* random);
// override to avoid duplicate drops when upper half is mined directly
void playerDestroy(Level* level, Player* player, int x, int y, int z, int data) override;
HitResult clip(Level* level, int xt, int yt, int zt, const Vec3& a, const Vec3& b);
int getDir(LevelSource* level, int x, int y, int z);