diff options
author | Alexander Harkness <me@bearbin.net> | 2014-10-16 21:21:33 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-10-16 21:21:33 +0200 |
commit | 59902c28f2aa43a2f86aa1834b36f538ff4b85f0 (patch) | |
tree | 34229c04b3f84e78bae27b266e2b6cabdfde69d4 | |
parent | Fixed a number of stylistic issues. (diff) | |
download | cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar.gz cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar.bz2 cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar.lz cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar.xz cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.tar.zst cuberite-59902c28f2aa43a2f86aa1834b36f538ff4b85f0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockEntities/FurnaceEntity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/FurnaceEntity.cpp b/src/BlockEntities/FurnaceEntity.cpp index e94ebf24d..38c251d2c 100644 --- a/src/BlockEntities/FurnaceEntity.cpp +++ b/src/BlockEntities/FurnaceEntity.cpp @@ -58,13 +58,13 @@ cFurnaceEntity::~cFurnaceEntity() void cFurnaceEntity::UsedBy(cPlayer * a_Player) { cWindow * Window = GetWindow(); - if (Window == NULL) + if (Window == nullptr) { OpenWindow(new cFurnaceWindow(m_PosX, m_PosY, m_PosZ, this)); Window = GetWindow(); } - if (Window != NULL) + if (Window != nullptr) { if (a_Player->GetWindow() != Window) { |