make a small change to sound interface
add a const
This commit is contained in:
+1
-1
@@ -1056,7 +1056,7 @@ void NetHackQtBind::qtsound_soundeffect(char *desc UNUSED, int32_t seid UNUSED,
|
||||
{
|
||||
}
|
||||
|
||||
void NetHackQtBind::qtsound_hero_playnotes(int32_t instrument UNUSED, char *str UNUSED, int32_t volume UNUSED)
|
||||
void NetHackQtBind::qtsound_hero_playnotes(int32_t instrument UNUSED, const char *str UNUSED, int32_t volume UNUSED)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ public:
|
||||
static void qtsound_exit_nhsound(const char *);
|
||||
static void qtsound_achievement(schar, schar, int32_t);
|
||||
static void qtsound_soundeffect(char *, int32_t, int32_t);
|
||||
static void qtsound_hero_playnotes(int32_t instrument, char *str, int32_t volume);
|
||||
static void qtsound_hero_playnotes(int32_t instrument, const char *str, int32_t volume);
|
||||
static void qtsound_play_usersound(char *, int32_t, int32_t);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user