Skip to content

Commit

Permalink
fix: remove cash property from player class to use cash from `C…
Browse files Browse the repository at this point in the history
…haracter` for Lua (#5751)

* Player: remove duplicate Character cash property

* style(autofix.ci): automated formatting

---------

Co-authored-by: scarf <greenscarf005@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 23, 2024
1 parent 74e381e commit fffed7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ player::player()
blocks_left = 1;
set_power_level( 0_kJ );
set_max_power_level( 0_kJ );
cash = 0;
scent = 500;
male = true;
remove_primary_weapon();
Expand Down
1 change: 0 additions & 1 deletion src/player.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ class player : public Character
// Save favorite ammo location
//TODO!: check this
safe_reference<item> ammo_location;
int cash = 0;
int movecounter = 0;

bool manual_examine = false;
Expand Down

0 comments on commit fffed7c

Please sign in to comment.