mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Some minor cleanup for readability
This commit is contained in:
@ -300,7 +300,7 @@ std::string plAvBrainCritter::BehaviorName(int behavior) const
|
||||
plString plAvBrainCritter::AnimationName(int behavior) const
|
||||
{
|
||||
if ((behavior >= fBehaviors.Count()) || (behavior < 0))
|
||||
return plString();
|
||||
return "";
|
||||
return ((CritterBehavior*)fBehaviors[behavior])->AnimName();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user