summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorJoannisO <Joannis.Orlandos@gmail.com>2014-06-04 12:37:51 +0200
committerJoannisO <Joannis.Orlandos@gmail.com>2014-06-04 12:37:51 +0200
commite5b345a9c95225c18728f5692bf12ffae82ba4cd (patch)
tree874c80d45998297bc66e103d50d529a30480d7fb /src/BlockEntities
parent- Fixed a lot of astethics (diff)
downloadcuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar.gz
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar.bz2
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar.lz
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar.xz
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.tar.zst
cuberite-e5b345a9c95225c18728f5692bf12ffae82ba4cd.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/DispenserEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/DispenserEntity.cpp b/src/BlockEntities/DispenserEntity.cpp
index 242ac4024..7b468bdea 100644
--- a/src/BlockEntities/DispenserEntity.cpp
+++ b/src/BlockEntities/DispenserEntity.cpp
@@ -199,12 +199,12 @@ void cDispenserEntity::DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum)
void cDispenserEntity::SpawnProjectileFromDispenser(int & a_BlockX, int & a_BlockY, int & a_BlockZ, cProjectileEntity::eKind a_Kind, Vector3d a_ShootVector)
{
- if( a_kind != cProjectileEntity::pkFireCharge )
+ if( a_Kind != cProjectileEntity::pkFireCharge )
{
a_ShootVector.y = a_ShootVector.y + 1;
}
- m_World->CreateProjectile((double) a_BlockX + 0.5, (double) a_BlockY + 0.5, (double) a_BlockZ + 0.5, a_kind, NULL, NULL, &a_ShootVector);
+ m_World->CreateProjectile((double) a_BlockX + 0.5, (double) a_BlockY + 0.5, (double) a_BlockZ + 0.5, a_Kind, NULL, NULL, &a_ShootVector);
}