mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-13 10:57:46 +00:00
Missing return value fixed
This commit is contained in:
parent
86937ad542
commit
83f95922d5
1 changed files with 3 additions and 0 deletions
|
@ -515,6 +515,9 @@ bool Sapphire::Action::Action::snapshotAffectedActors( std::vector< Entity::Char
|
||||||
player->sendDebug( "hit actor#{}", actor->getId() );
|
player->sendDebug( "hit actor#{}", actor->getId() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if( actors.empty() )
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sapphire::Action::Action::addActorFilter( World::Util::ActorFilterPtr filter )
|
void Sapphire::Action::Action::addActorFilter( World::Util::ActorFilterPtr filter )
|
||||||
|
|
Loading…
Add table
Reference in a new issue