Merge pull request #831 from sv-esk/manipulator

Fix minor manipulator bug
develop
Lethosor 2016-03-02 18:40:32 -05:00
commit 5e2fc56621
1 changed files with 1 additions and 1 deletions

@ -1008,7 +1008,7 @@ public:
} }
void select_profession(size_t selected) void select_profession(size_t selected)
{ {
if (selected >= manager.templates.size()) if (selected > manager.templates.size())
return; return;
ProfessionTemplate prof = manager.templates[selected - 1]; ProfessionTemplate prof = manager.templates[selected - 1];