Skip to content

Commit

Permalink
Merge pull request #35851 from OzoneH3/book_sort_fix
Browse files Browse the repository at this point in the history
Very small typo fix
  • Loading branch information
ZhilkinSerg authored Dec 4, 2019
2 parents c0cb80b + 0c2d3e0 commit 4b589b7
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 4b589b7

Please sign in to comment.