This commit is contained in:
parent
469a744a87
commit
64012414b9
14 changed files with 50 additions and 33 deletions
|
@ -94,11 +94,17 @@ void CNpcRisingWeightWheelHazard::collidedWith( CThing *_thisThing )
|
|||
break;
|
||||
}
|
||||
|
||||
case TYPE_NPC:
|
||||
break;
|
||||
case TYPE_PLAYERPROJECTILE:
|
||||
{
|
||||
m_weight->setTriggered();
|
||||
|
||||
m_rotation += 128;
|
||||
m_rotation &= 4095;
|
||||
|
||||
_thisThing->setToShutdown();
|
||||
}
|
||||
|
||||
default:
|
||||
ASSERT(0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue