Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
OzoneH3 committed Dec 4, 2019
1 parent c0cb80b commit 0c2d3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_inventory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ class read_inventory_preset: public pickup_inventory_preset

if( !book_a.skill && !book_b.skill ) {
return ( book_a.fun == book_b.fun ) ? base_sort : book_a.fun > book_b.fun;
} else if( !book_a.skill || !book_a.skill ) {
} else if( !book_a.skill || !book_b.skill ) {
return static_cast<bool>( book_a.skill );
}

Expand Down

0 comments on commit 0c2d3e0

Please sign in to comment.