christopho/solarus — comment on commit dd7934057c3ae068817fb4950d4241400aff490d
File:  line 0
By christopho:

Hi again,
You're not disturbing, you're helping me ;)
I checked and i'm quite sure it's okay now. A savegame variable of -1 means an item that is not saved (like a heart, a rupee, etc.). I should probably use nil instead.
Anyway, the while means : while the reward is a saved reward that the player already has, choose another one.