Fixed DropSpensers not rotating properly
parent
30ac3f5838
commit
e0c649dcc4
|
@ -31,7 +31,7 @@ public:
|
|||
a_BlockType = m_BlockType;
|
||||
|
||||
// FIXME: Do not use cPiston class for dispenser placement!
|
||||
a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), 0);
|
||||
a_BlockMeta = cPiston::RotationPitchToMetaData(a_Player->GetRotation(), a_Player->GetPitch());
|
||||
return true;
|
||||
}
|
||||
} ;
|
||||
|
|
Loading…
Reference in New Issue