Skip to content

Commit

Permalink
Assert on incorrect skill descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AthenaADP committed Apr 7, 2019
1 parent fa7e167 commit 5ea1837
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Skill.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once
#include "Common.h"
#include <cliext/map>

ref struct Skill;
ref struct Query;
Expand Down
1 change: 1 addition & 0 deletions SkillHelp.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ namespace MHGUASS

String^ skill_name = desc->Substring( subskill_start + 2, subskill_end - subskill_start - 2 );
ss->skill = Skill::FindSkill( skill_name );
Assert( ss->skill, "Subskill not found: " + skill_name );
if( ss->skill == nullptr )
break;

Expand Down

0 comments on commit 5ea1837

Please sign in to comment.