1
0
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:
Sandu Liviu Catalin 2016-08-19 18:16:21 +03:00
parent cbe33f4f21
commit 3def96b57a

View File

@ -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();
}
}