- Fixed a bug where I didn't return anything in the GetShootVector
function. This was however passed as "working" by GCC.
This commit is contained in:
parent
2ecf425c39
commit
c0716bfcf6
@ -235,6 +235,8 @@ Vector3d cDispenserEntity::GetShootVector(NIBBLETYPE & a_Meta)
|
||||
case E_META_DROPSPENSER_FACING_ZM: return Vector3d(0, 0, -1);
|
||||
case E_META_DROPSPENSER_FACING_ZP: return Vector3d(0, 0, 1);
|
||||
}
|
||||
|
||||
return Vector3d(0, 1, 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user