openbsd-ports/games/thedarkmod/patches/patch-sound_snd_cache_cpp
thfr 0aa400bdb3 import games/thedarkmod
tweaks and ok kirby@

Description:

A dark and moody stealth game, inspired by the "Thief" series by
Looking Glass Studios, The Dark Mod includes creative new gameplay
features, dozens of unique AI, and a complete set of custom art
assets, allowing players and mappers alike to enjoy missions in a
gothic steampunk universe. When you play The Dark Mod, you feel
like you're playing a gothic stealth game...

This game is first and foremost a toolkit, allowing fans and
team-members to create their own stealth missions in a gothic
steampunk environment. But there are already over 100 full missions
for download, including some small campaigns, so it certainly feels
like a game. The only difference is that you have to choose which
missions to install and play.
2019-09-02 18:04:40 +00:00

17 lines
438 B
Plaintext

$OpenBSD: patch-sound_snd_cache_cpp,v 1.1.1.1 2019/09/02 18:04:40 thfr Exp $
correctly assign unsigned int to 0, not NULL
Index: sound/snd_cache.cpp
--- sound/snd_cache.cpp.orig
+++ sound/snd_cache.cpp
@@ -283,7 +283,7 @@ idSoundSample::idSoundSample() {
objectMemSize = 0;
nonCacheData = NULL;
amplitudeData = NULL;
- openalBuffer = NULL;
+ openalBuffer = 0;
hardwareBuffer = false;
defaultSound = false;
onDemand = false;