Skip to content

Commit

Permalink
fix builds with NOSOUND
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Oct 1, 2023
1 parent 8dcfb83 commit 9ee0579
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/patcher/DiabloUI/diablo.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@
*/
#pragma once

//#include <vector>

#include "all.h"

DEVILUTION_BEGIN_NAMESPACE

#ifdef __cplusplus
extern "C" {
#endif

/* Defined in effects.cpp */
#ifndef NOSOUND
/*#ifndef NOSOUND
void PlaySFX(int psfx);
#else
inline void PlaySFX(int psfx) { }
#endif
#endif*/

#ifdef __cplusplus
}
Expand Down

0 comments on commit 9ee0579

Please sign in to comment.