]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.h
fix a crash in debug builds where the compiler did not optimize
[xonotic/darkplaces.git] / snd_main.h
index c7c631f88f6b17e0af5b38c782552711858e1817..7419e9cec54f381a5b1fc9d2b08649d3c18c23fe 100644 (file)
@@ -86,7 +86,7 @@ typedef struct channel_s
 {
        int                     listener_volume [SND_LISTENERS];        // 0-65536 volume per speaker
        int                             master_vol;             // 0-65536 master volume
-       sfx_t                   *sfx;                   // sfx number
+       sfx_t                   *sfx;                   // pointer to sound sample being used
        unsigned int    flags;                  // cf CHANNELFLAG_* defines
        int                             pos;                    // sample position in sfx, negative values delay the start of the sound playback
        int                             entnum;                 // to allow overriding a specific sound