mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Refactor for blender 2.8 and new shader model
This commit is contained in:
@@ -138,7 +138,7 @@ void CScriptPickup::Touch(CActor& act, CStateManager& mgr) {
|
||||
}
|
||||
}
|
||||
|
||||
mgr.GetPlayerState()->InitializePowerUp(x258_itemType, x260_capacity);
|
||||
mgr.GetPlayerState()->AddPowerUp(x258_itemType, x260_capacity);
|
||||
mgr.GetPlayerState()->IncrPickup(x258_itemType, x25c_amount);
|
||||
mgr.FreeScriptObject(GetUniqueId());
|
||||
SendScriptMsgs(EScriptObjectState::Arrived, mgr, EScriptObjectMessage::None);
|
||||
|
||||
Reference in New Issue
Block a user