Skip to content

Commit 0148f58

Browse files
committedMay 28, 2021
Fix compile warnings
1 parent 0b5f035 commit 0148f58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/models.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <dumb_json/djson.hpp>
88

99
Move::Move(std::string name, MoveType type, int accuracy, int effect_chance, int power, std::string flavor_text)
10-
: name(name), type(type), accuracy(accuracy), effect_chance(effect_chance), power(power), flavor_text(flavor_text)
10+
: name(name), type(type), accuracy(accuracy), power(power), effect_chance(effect_chance), flavor_text(flavor_text)
1111
{
1212
}
1313

@@ -43,7 +43,7 @@ void Pokemon::configure_move_set()
4343
}
4444
}
4545

46-
Pokemon::Pokemon(int id, std::filesystem::path assets_dir) : id{id}, assets_dir{assets_dir}
46+
Pokemon::Pokemon(int id, std::filesystem::path assets_dir) : assets_dir{assets_dir}, id{id}
4747
{
4848
this->sprite = read_asset("txt");
4949
auto lines = read_asset("json");

0 commit comments

Comments
 (0)
Please sign in to comment.