Skip to content

Commit

Permalink
Merge pull request #35 from Project-Hatchet/fix-soundmacro
Browse files Browse the repository at this point in the history
fix sound macro
  • Loading branch information
BroBeansCPG authored Nov 4, 2023
2 parents 32f6186 + 91f78c8 commit 9414bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/interaction/CfgSounds.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define SOUND(NAME,PATH) class PREFIX_NAME { name = QUOTE(NAME); sound[] = {QUOTE(\z\PREFIX\addons\COMPONENT\sounds\PATH.wss), 1, 1, 1}; titles[] = {}; }
#define SOUND(NAME,PATH) class RVAR(NAME) { name = QRVAR(NAME); sound[] = {QUOTE(\z\PREFIX\addons\COMPONENT\sounds\PATH.wss), 1, 1, 1}; titles[] = {}; }

class CfgSounds {
SOUND(Switch_Sound,switch);
Expand Down

0 comments on commit 9414bb5

Please sign in to comment.