Skip to content

Commit

Permalink
[#10] Well that's weird.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaloLorn authored Jan 31, 2025
1 parent df79814 commit 5197719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/game/scripts/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ void parseFile(Manager* man, File& fl, const std::string& filename, bool cacheFi
// TODO: Figure out something a little better-optimized than always running
// three regexes on every line of code?
// On the bright side, we're only running them if we're in the right section...
std::string osrLine = new std::string(line);
std::string osrLine = new std::string(*iLine);
while(reg_match(osrLine, match, pre_osr_single_line)) {
const std::string prefix = reg_str(osrLine, match, 1);
const std::string postfix = reg_str(osrLine, match, 4);
Expand Down

0 comments on commit 5197719

Please sign in to comment.