Skip to content

Commit

Permalink
Fix bug: enhance BGE.
Browse files Browse the repository at this point in the history
  • Loading branch information
andor9 committed Sep 25, 2015
1 parent 5737d95 commit a381389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tyrant.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef TYRANT_H_INCLUDED
#define TYRANT_H_INCLUDED

#define TYRANT_OPTIMIZER_VERSION "2.10.9"
#define TYRANT_OPTIMIZER_VERSION "2.10.10"

#include <string>
#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion tyrant_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ int main(int argc, char** argv)
bg_skill.n = boost::lexical_cast<unsigned>(tokens[skill_index]);
skill_index += 1;
}
if (skill_index < tokens.size() && bg_skill.id == evolve)
if (skill_index < tokens.size())
{
bg_skill.s = skill_name_to_id(tokens[skill_index]);
if (bg_skill.s != no_skill)
Expand Down

0 comments on commit a381389

Please sign in to comment.