Skip to content

Commit

Permalink
Path fix for random enemy groups, by dorkster
Browse files Browse the repository at this point in the history
  • Loading branch information
clintbellanger committed Dec 26, 2011
1 parent ad926f7 commit 2fd78cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EnemyGroupManager.cpp
Expand Up @@ -56,7 +56,7 @@ void EnemyGroupManager::generate() {

void EnemyGroupManager::parseEnemyFileAndStore(const string& dir, const string& filename) {
FileParser infile;
if (infile.open(mods->locate(dir + "/" + filename))) {
if (infile.open(mods->locate("enemies/" + filename)) {
Enemy_Level new_enemy;
new_enemy.type = filename.substr(0, filename.length()-4); //removes the ".txt" from the filename
while (infile.next()) {
Expand Down

0 comments on commit 2fd78cd

Please sign in to comment.