Skip to content

Commit

Permalink
Fix audStream PlayOnce return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dummiesman committed Aug 23, 2024
1 parent c4d94a5 commit 636eb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/audio/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace MM2
/*
AudStream
*/
AGE_API void PlayOnce(const char* filename) { hook::Thunk<0x50E3F0>::Call<void>(this, filename); }
AGE_API bool PlayOnce(const char* filename) { return hook::Thunk<0x50E3F0>::Call<bool>(this, filename); }
AGE_API void SetVolume(float volume) { hook::Thunk<0x50E3D0>::Call<void>(this, volume); }

static void BindLua(LuaState L) {
Expand Down

0 comments on commit 636eb9e

Please sign in to comment.