Fixed dispender direction bug
This commit is contained in:
parent
daf5127b28
commit
67fe834499
@ -203,7 +203,7 @@ void cDispenserEntity::SpawnProjectileFromDispenser(int a_BlockX, int a_BlockY,
|
|||||||
|
|
||||||
Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE a_Meta)
|
Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE a_Meta)
|
||||||
{
|
{
|
||||||
switch (a_Meta)
|
switch (a_Meta & 0x7)
|
||||||
{
|
{
|
||||||
case E_META_DROPSPENSER_FACING_YP: return Vector3d( 0, 1, 0);
|
case E_META_DROPSPENSER_FACING_YP: return Vector3d( 0, 1, 0);
|
||||||
case E_META_DROPSPENSER_FACING_YM: return Vector3d( 0, -1, 0);
|
case E_META_DROPSPENSER_FACING_YM: return Vector3d( 0, -1, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user