clintbellanger/flare — pull request #361 by AMDmi3 (2012-05-24 00:18:14+00:00)
Title: Fix item sfx initialization

The actual problem is that

sfx[SFX_POTION] = NULL;

is missing in `else' part, which leads to game crashes with disabled sound.

However, fix it in a way which avoids code duplication and thus similar errors in future.