- Fixed variable names in a function.
This commit is contained in:
parent
2c103a713e
commit
e5b345a9c9
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user