Do not show helmet on back (can't make it work properly with other items).

The helmet is just too big and bulky. Same with the diving helmet.
console-destruction
Clonkonaut 2016-08-17 20:25:05 +02:00
parent 01232b61a5
commit d93b4d7b3a
1 changed files with 0 additions and 7 deletions

View File

@ -64,8 +64,6 @@ public func GetCarryMode(object clonk, bool secondary)
{
if (IsWorn() || display_disabled)
return CARRY_None;
if (secondary || !clonk->~HasHandAction(false, true))
return CARRY_Back;
return CARRY_BothHands;
}
@ -81,11 +79,6 @@ public func GetCarryBone(object clonk, bool secondary)
public func GetCarryTransform(object clonk, bool secondary, bool no_hand, bool on_back)
{
if (secondary)
return Trans_Mul(Trans_Rotate(180, 1), Trans_Rotate(0, 0, 1), Trans_Rotate(90, 0, 0, 1), Trans_Translate(-4000));
if (no_hand || on_back)
return Trans_Mul(Trans_Rotate(0, 1), Trans_Rotate(0, 0, 1), Trans_Rotate(90, 0, 0, 1), Trans_Translate(-4000));
return Trans_Mul(Trans_Rotate(80, 0, 0, 1), Trans_Rotate(-90, 0, 1), Trans_Rotate(-45, 0, 0, 1), Trans_Translate(-1000, 4000));
}