diff options
author | tx00100xt | 2023-02-09 12:07:51 +0300 |
---|---|---|
committer | tx00100xt | 2023-02-09 12:07:51 +0300 |
commit | 10df8b3f8fbd9b64554b118174134a97fd3d3f5a (patch) | |
tree | f8a62130108befcabeeab1b4cc0ee67152cdf647 | |
parent | 48b7046d01a98cd309867f4d8d53da327cc52fc8 (diff) | |
download | aur-10df8b3f8fbd9b64554b118174134a97fd3d3f5a.tar.gz |
Fixing a bug with thunder, the sound of thunder and flashes on the level of Hatshepsut.
-rwxr-xr-x | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 10 | ||||
-rwxr-xr-x | fix-thunder.patch | 14 |
3 files changed, 22 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = serioussam pkgdesc = Serious Sam Classic native Linux version with XPLUS Modification. pkgver = 1.10.4 - pkgrel = 4 + pkgrel = 5 url = https://github.com/tx00100xt/SeriousSamClassic arch = i686 arch = x86_64 @@ -7,7 +7,7 @@ xplus_tfe=SamTFE-XPLUS.tar.xz xplus_tse=SamTSE-XPLUS.tar.xz pkgver=1.10.4 _srcname="SeriousSamClassic-$pkgver" -pkgrel=4 +pkgrel=5 pkgdesc="Serious Sam Classic native Linux version with XPLUS Modification." arch=('i686' 'x86_64') url="https://github.com/tx00100xt/SeriousSamClassic" @@ -29,7 +29,8 @@ source=("https://github.com/tx00100xt/SeriousSamClassic/archive/refs/tags/v$pkgv "serioussam-tfe.sh" "serioussam-tse.sh" "tfe-last-update.patch" - "tse-last-update.patch") + "tse-last-update.patch" + "fix-thunder.patch") noextract=("SamTFE-XPLUS.tar.xz.partaa" "SamTFE-XPLUS.tar.xz.partab" "SamTFE-XPLUS.tar.xz.partac" @@ -49,7 +50,8 @@ sha256sums=('c42e1434e03f713ffc60aa627f0a24c64287598bc5ee7cdbd2cbe91aa363ef51' '649c2a4f2c0dfa1a096192cd6a24206fba19512a1b8094663b9cfb21a93a2d35' 'd1938c4422ad9f4b00703b29edfb4bb39aa7e5c6b4ad64a38cd530d88cec46f3' '3e7556a71e8627ea0e94e1abd1112e493e12e27d8465aa3a7c37a138d08893b7' - '637b388f88a241ad7f140ed22cc49b92174cb9b8abe9bb8a876a9b40af7b3f16') + '637b388f88a241ad7f140ed22cc49b92174cb9b8abe9bb8a876a9b40af7b3f16' + 'ad07c6b9d29a0d8a1a276b0c00d07e2d24d8c63c425efa21daa31ec3c1d366df') if [[ $CARCH = "i686" ]]; then _bits="32" else @@ -60,6 +62,7 @@ prepare(){ # Prepare patch cat tfe-last-update.patch > "$srcdir/$_srcname/tfe-last-update.patch" cat tse-last-update.patch > "$srcdir/$_srcname/tse-last-update.patch" + cat fix-thunder.patch > "$srcdir/$_srcname/fix-thunder.patch" # Prepare XPLUS archive cat "$xplus_tfe".part* > "$xplus_tfe" @@ -95,6 +98,7 @@ prepare(){ cd "$srcdir/$_srcname" patch -p1 < tfe-last-update.patch || return 1 patch -p1 < tse-last-update.patch || return 1 + patch -p1 < fix-thunder.patch || return 1 } build(){ diff --git a/fix-thunder.patch b/fix-thunder.patch new file mode 100755 index 000000000000..9f59d5024538 --- /dev/null +++ b/fix-thunder.patch @@ -0,0 +1,14 @@ +/* Fixing a bug with thunder, the sound of thunder and flashes on the level of Hatshepsut. */ +--- a/SamTFE/Sources/Entities/Lightning.es 2023-02-08 19:14:42.461910992 +0300 ++++ b/SamTFE/Sources/Entities/Lightning.es 2023-02-09 10:07:51.374219596 +0300 +@@ -118,9 +118,7 @@ + } + + // wait for sound to progress to lightning strike +- if (_atiThunderSounds[ m_iSoundPlaying].ti_fThunderStrikeDelay>0.0f) { + autowait( _atiThunderSounds[ m_iSoundPlaying].ti_fThunderStrikeDelay); +- } + + // remember current time as lightning start time + TIME tmNow = _pTimer->CurrentTick(); + |