Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 07-Practice-05.04.2022 / Player.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp2
diff --git a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp
index eaca839..cb76553 100644
--- a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp
+++ b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/Player.cpp
@@ -23,7 +23,7 @@ bool Player::isValidPassword(const char* passwordAttempt) {
/* Public */
-Player::Player(const char* name, const char* pass, unsigned age, double currentBalance) {
+Player::Player(const char* name, const char* pass, unsigned age, double balance) {
this->name = new char[strlen(name) + 1];
strcpy(this->name, name);
this->pass = new char[strlen(pass) + 1];