Fix incorrect enumeration value in switch statement when requesting pickup events.

This commit is contained in:
Sandu Liviu Catalin committed 2016-08-19 18:16:21 +03:00
1 parent cbe33f4f21
commit 3def96b57a
1 file changed
+1 -1
+1 -1
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();
}
}