mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:47:42 +00:00
Bug fixes and CGuiFrame mouse events
This commit is contained in:
@@ -268,9 +268,10 @@ CCharAnimTime CAnimData::GetTimeOfUserEvent(EUserEventType type, const CCharAnim
|
||||
for (int i = 0; i < count; ++i) {
|
||||
CInt32POINode& poi = g_TransientInt32POINodes[i];
|
||||
if (poi.GetPoiType() == EPOIType::UserEvent && EUserEventType(poi.GetValue()) == type) {
|
||||
CCharAnimTime ret = poi.GetTime();
|
||||
for (; i < count; ++i)
|
||||
g_TransientInt32POINodes[i] = CInt32POINode();
|
||||
return poi.GetTime();
|
||||
return ret;
|
||||
} else {
|
||||
poi = CInt32POINode();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user