Skip to content

Commit

Permalink
Update player.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Luan Luciano authored Mar 22, 2024
1 parent 788aa0b commit cc360c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/creatures/players/player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,7 @@ class Player final : public Creature, public Cylinder, public Bankable {
auto it = stashItems.find(itemId);
if (it != stashItems.end()) {
stashItems[itemId] += amount;
setSaveStash(true)
return;

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

syntax error: missing ';' before 'return'

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

syntax error: missing ';' before 'return::debug::Exit code '1' received from command '"D:\a\_temp\-1945571364\cmake-3.28.4-windows-x86_64\bin\cmake.exe"'

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 693 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

expected ‘;’ before ‘return’
}

Expand All @@ -711,6 +712,7 @@ class Player final : public Creature, public Cylinder, public Bankable {
} else {
return false;
}
setSaveStash(true)
return true;

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

syntax error: missing ';' before 'return'

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / windows-2022-windows-release

syntax error: missing ';' before 'return'

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-debug

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

expected ‘;’ before ‘return’

Check failure on line 716 in src/creatures/players/player.hpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-release

expected ‘;’ before ‘return’
}
return false;
Expand Down

0 comments on commit cc360c6

Please sign in to comment.