Skip to content

Commit

Permalink
StringVars: remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
enewey committed Oct 22, 2023
1 parent 9e5aa88 commit d59968a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4836,8 +4836,7 @@ bool Game_Interpreter::CommandManiacControlStrings(lcf::rpg::EventCommand const&
{
std::string op_string = "";
std::string delimiter = (std::string)Main_Data::game_strings->GetWithMode(str_param, args[0], modes[0]);
Output::Debug("args {} {} {}", args[0], args[1], args[2]);
Output::Debug("modes {} {} {}", modes[0], modes[1], modes[2]);

// args[1] & mode[1] relates to starting ID for strings to join
// mode 0 = id literal, 1 = direct var, 2 = var literal, 3 = direct var
args[1] = ValueOrVariable(modes[1] % 2, args[1]);
Expand Down
2 changes: 0 additions & 2 deletions src/game_strings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ int Game_Strings::InStr(Str_Params params, std::string search, int var_id, int b

std::string str = Get(params.string_id);

Output::Debug("Searching for {} in {}", search, str);

int index = Get(params.string_id).find(search, begin);
Main_Data::game_variables->Set(var_id, index);
return index;
Expand Down

0 comments on commit d59968a

Please sign in to comment.