Skip to content

Commit

Permalink
NWN2: Add missing break statement in switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Feb 15, 2019
1 parent 72918b5 commit fd53093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engines/nwn2/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,8 @@ bool Creature::getHasSkill(uint32 skill) const {
case kSkillUseMagicDevice:
// Requires 1+ trained ranks
hasSkill = false;
break;

default:
break;
}
Expand Down

0 comments on commit fd53093

Please sign in to comment.