Skip to content

Commit a6c2b3f

Browse files
committed
2 parents 049c184 + df18584 commit a6c2b3f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shm/src/Store.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ Store::Response Store::buy(Cargo* cargo, size_t amount, Player* player) {
2222
}
2323

2424
Store::Response Store::sell(Cargo* cargo, size_t amount, Player* player) {
25+
<<<<<<< HEAD
2526
if (!cargo) {
2627
return Response::lack_of_cargo;
2728
}
2829
if (cargo->getAmount() + amount > STORE_CAPACITY) {
30+
=======
31+
if (cargo->getAmount() + amount > Store::STORE_CAPACITY) {
32+
>>>>>>> df1858499674b7da1cc130f18aff165908ce1d17
2933
return Response::lack_of_space;
3034
}
3135
return Response::done;

0 commit comments

Comments
 (0)