修复了大额礼物特效中断座驾动画的bug
This commit is contained in:
@@ -1391,6 +1391,7 @@
|
||||
self.isLargeGiftAnimating = YES;
|
||||
[self.carEffectView stopAnimation];
|
||||
[self.carVapEffectView stopHWDMP4];
|
||||
[self.carEffectQueue removeAllObjects];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1558,9 +1559,7 @@
|
||||
} else if(player == self.carEffectView) {
|
||||
self.carEffectView.hidden = YES;
|
||||
[self.carEffectView removeFromSuperview];
|
||||
if (self.isLargeGiftAnimating) {
|
||||
[self.carEffectQueue removeAllObjects];
|
||||
} else {
|
||||
if (self.carEffectQueue.count > 0) {
|
||||
[self.carEffectQueue removeObjectAtIndex:0];
|
||||
}
|
||||
if (self.carEffectQueue.count > 0) {
|
||||
@@ -1599,9 +1598,7 @@
|
||||
if (container == self.carVapEffectView) {
|
||||
[self.carVapEffectView removeFromSuperview];
|
||||
self.carVapEffectView = nil;
|
||||
if (self.isLargeGiftAnimating) {
|
||||
[self.carEffectQueue removeAllObjects];
|
||||
} else {
|
||||
if (self.carEffectQueue.count > 0) {
|
||||
[self.carEffectQueue removeObjectAtIndex:0];
|
||||
}
|
||||
if (self.carEffectQueue.count > 0) {
|
||||
|
Reference in New Issue
Block a user