This commit is contained in:
aozhiwei 2021-06-17 23:37:54 +08:00
parent 0a4ceb85ab
commit d70a548351

View File

@ -648,7 +648,7 @@ bool Obstacle::DoInteraction(Human* sender)
void Obstacle::OnCollisionTrigger(Creature* c, OptResult& opt_result) void Obstacle::OnCollisionTrigger(Creature* c, OptResult& opt_result)
{ {
opt_result = kOptPass; opt_result = kOptPass;
switch (meta->i->thing_type() == kObstacleSpring) { switch (meta->i->thing_type()) {
case kObstacleSpring: case kObstacleSpring:
{ {
AddObstacleBuff(c); AddObstacleBuff(c);