mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-20 19:57:12 +01:00
Fix incorrect enumeration value in switch statement when requesting pickup events.
This commit is contained in:
parent
cbe33f4f21
commit
3def96b57a
@ -605,7 +605,7 @@ Function & Core::GetPickupEvent(Int32 id, Int32 evid)
|
||||
case EVT_PICKUPCLAIMED: return inst.mOnClaimed;
|
||||
case EVT_PICKUPCOLLECTED: return inst.mOnCollected;
|
||||
case EVT_PICKUPWORLD: return inst.mOnWorld;
|
||||
case EVT_PICKUPWORLD: return inst.mOnAlpha;
|
||||
case EVT_PICKUPALPHA: return inst.mOnAlpha;
|
||||
default: return NullFunction();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user