diff options
author | Mattes D <github@xoft.cz> | 2014-03-02 16:13:43 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-02 16:13:43 +0100 |
commit | b17d04737d11c5698a6869c70031646723d79f11 (patch) | |
tree | d71275553552a16dd2b9ba949cd5abf8baf9fa5a /src/Entities/ProjectileEntity.cpp | |
parent | Merge pull request #745 from tonibm19/master (diff) | |
parent | GetById => Get (diff) | |
download | cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.gz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.bz2 cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.lz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.xz cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.zst cuberite-b17d04737d11c5698a6869c70031646723d79f11.zip |
Diffstat (limited to 'src/Entities/ProjectileEntity.cpp')
-rw-r--r-- | src/Entities/ProjectileEntity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/ProjectileEntity.cpp b/src/Entities/ProjectileEntity.cpp index ef82c6e94..03bc0c99d 100644 --- a/src/Entities/ProjectileEntity.cpp +++ b/src/Entities/ProjectileEntity.cpp @@ -50,12 +50,12 @@ protected: LOGD("Hit block %d:%d at {%d, %d, %d} face %d, %s (%s)", a_BlockType, a_BlockMeta, a_BlockX, a_BlockY, a_BlockZ, a_EntryFace, - g_BlockIsSolid[a_BlockType] ? "solid" : "non-solid", + cBlockInfo::IsSolid(a_BlockType) ? "solid" : "non-solid", ItemToString(cItem(a_BlockType, 1, a_BlockMeta)).c_str() ); */ - if (g_BlockIsSolid[a_BlockType]) + if (cBlockInfo::IsSolid(a_BlockType)) { // The projectile hit a solid block // Calculate the exact hit coords: |