Alug
18e46448de
init polyobject thinker references to 0
...
otherwise its uncertain and very unlikely for them to be removed
P_RemoveThinker(Delayed) checks if thinkers are still referenced before removal.
polyobject thinkers never initialised the reference count but called thinker removal, this lead to checking unitialised values and those thinkers getting stuck in removal limbo without ever being actually removed
2024-11-27 18:24:58 +01:00
Sal
ea49b16a02
Merge branch 'boostedteleportfix' into 'next'
...
Prevent boosted spinout teleports from throwing you the wrong direction
See merge request KartKrew/Kart-Public!349
2024-03-31 20:37:11 +00:00
Sally Coolatta
27aecdb909
Merge branch 'master' into next
2024-03-31 16:33:40 -04:00
Sal
90549eda19
Merge branch 'speccenter' into 'master'
...
Center Camera when joining from Spectator
See merge request KartKrew/Kart-Public!339
2024-03-31 20:27:26 +00:00
Sal
01d828b1cb
Merge branch 'mobjcrashfixes' into 'master'
...
Prevent many Mobj related segfaults
See merge request KartKrew/Kart-Public!345
2024-03-31 20:25:37 +00:00
Sal
1a3dcccc31
Merge branch 'transfercrash' into 'master'
...
Fix FOFs which use transferline flag and many linedefs randomly crashing
See merge request KartKrew/Kart-Public!341
2024-03-30 17:36:38 +00:00
Nep Disk
9a8cd9f095
Prevent boosted teleports from throwing you the wrong direction on exit
2024-03-30 03:51:05 +00:00
Alug
cf14f285a3
simplify this and make its own function P_ResetLocalCamAiming
...
no more if else and weird checks c:
2024-03-30 03:26:17 +01:00
Alu Folie
9ecc4682a1
Merge branch Kart-Public:master into speccenter
2024-03-30 02:05:45 +00:00
Sal
b96a86a289
Merge branch 'softlock' into 'master'
...
Fix overflow check overflowing in R_DrawRepeatMaskedColumn
See merge request KartKrew/Kart-Public!346
2024-03-30 01:25:10 +00:00
Sal
447af8a0c8
Merge branch 'oglshearfix' into 'master'
...
Fix OGL shearing visually breaking when looking 90 degrees up or down
See merge request KartKrew/Kart-Public!344
2024-03-30 01:24:20 +00:00
Sal
2000917c3a
Merge branch 'shadowcrash' into 'master'
...
Run P_RunShadows also in preticker
See merge request KartKrew/Kart-Public!340
2024-03-30 01:23:56 +00:00
Sal
c4a31f99d5
Merge branch 'musicfadefix' into 'master'
...
Do music fade callback on main thread
See merge request KartKrew/Kart-Public!336
2024-03-30 01:23:43 +00:00
Sal
62082761c7
Merge branch 'mipcolorfix' into 'master'
...
Fix FreeMipmapColormap Crash
See merge request KartKrew/Kart-Public!335
2024-03-30 01:23:13 +00:00
Sal
87f2bdeb55
Merge branch 'resynctext' into 'master'
...
Fix broken resynch text
See merge request KartKrew/Kart-Public!338
2024-03-30 01:22:59 +00:00
Alug
65c3d90340
forgot about splitscreen oops
2024-03-30 02:17:30 +01:00
Sal
b9c47bf40e
Merge branch 'precipinterpfix' into 'master'
...
Fix Weather Z coordinate not being interpolated in OpenGL
See merge request KartKrew/Kart-Public!343
2024-03-30 01:02:21 +00:00
Sal
1116df5776
Merge branch 'pingcmdfix' into 'master'
...
Fix ping command showing a random players ms ping instead of your ping
See merge request KartKrew/Kart-Public!342
2024-03-30 01:02:04 +00:00
Alug
897f652715
Prevent many Mobj related segfaults
...
-Fix segfaults when damaging mobj with no painstate and when removing source from ShouldDamage
-Fix segfault when removing mobjs while iterating thinglist
-Fix dangling pointer in mapthing after removing mobj
-Fix a segfault when the game cant spawn a MapThing in P_SpawnMapThing
-If P_SetMobjState gets called with a player mobj use P_SetPlayerMobjState instead
-Add a few P_MobjWasRemoved checks
-Make mine explosions a little safer
-Fix rare K_RepairOrbitChain crash (thx indev c:)
2024-03-30 00:44:29 +01:00
Alug
17e24bb8e2
Fix OGL shearing visually breaking when looking 90 degrees up or down
2024-03-30 00:14:48 +01:00
Alug
64f91846af
Fix Weather Z coordinate not being interpolated in OpenGL
...
makes precip smooth like software
2024-03-30 00:09:22 +01:00
Alug
2172c9ddb2
fix overflow check overflowing in R_DrawRepeatMaskedColumn
...
fixes renderer lock ups with transparent textures in software renderer
2024-03-30 00:04:42 +01:00
Alug
3dce66a5c5
fix ping command showing a random players ms ping instead of your ping
2024-03-30 00:01:40 +01:00
Alug
64e1c6a340
fix compiler warning
2024-03-30 00:00:10 +01:00
Alug
0cc6c0ed4c
Fix FOFs which use transferline flag and many linedefs randomly crashing
...
linenum could go out of bounds if you use more than 4 linedefs for such setup, hence making the game unable to retrieve textures and therefore crashing the games sometimes
many thx to indev c:
2024-03-29 23:58:21 +01:00
Alug
3485c116c8
run P_RunShadows also in preticker
...
so the game wont crash randomly at mapload sometimes
2024-03-29 23:57:30 +01:00
Alug
aaaf09aea3
somehow forgor this in center camera
2024-03-29 23:56:11 +01:00
Alug
e2605ff16c
center camera when joining from spec
...
the camera never gets centered proper if you join from spectator
2024-03-29 23:56:05 +01:00
Alug
a68a1d7ef9
fix broken resynch text
2024-03-29 23:55:11 +01:00
alufolie91
a7164a5d8f
Do music fade callback on main thread
...
Fixes music fades crashing the game sometimes
Backport from SRB2
See: 0aa763df85
Credits to Lactozilla
2024-03-29 23:50:24 +01:00
Alug
e3c42b3ba2
add more safety
2024-03-29 23:48:33 +01:00
alufolie91
4df9749570
Fix FreeMipmapColormap Crash
...
Backport from SRB2
See: e9e0683d5e
Credits go to Lactozilla
2024-03-29 23:45:23 +01:00
Sal
62294dfe35
Merge branch 'master' into 'master'
...
Fix segmentation faults on 32-bit ARM devices running GNU/Linux
See merge request KartKrew/Kart-Public!332
2024-03-29 21:51:49 +00:00
Sal
8b557c724e
Merge branch 'fix-cv-call-segfault' into 'master'
...
Fix possible segfault for cvars registered from lua with flag CV_CALL
See merge request KartKrew/Kart-Public!328
2024-03-29 21:50:16 +00:00
Sal
fbe20b3805
Merge branch 'fix-freebsd-build-errors' into 'master'
...
Fix FreeBSD build errors
See merge request KartKrew/Kart-Public!333
2024-03-29 21:48:42 +00:00
Gustaf Alhäll
656758fc40
Fix FreeBSD build errors
2023-10-24 16:42:35 +02:00
Christian Angel
44ac5ded31
Fix segmentation faults on ODROID-XU3/XU4 running GNU/Linux, and probably other 32-bit ARM devices like older Raspberry Pis
2023-10-19 17:13:09 -04:00
James R
684b016487
Merge branch 'fix-ban-txt-crash' into 'master'
...
Fix ban.txt crashing game
See merge request KartKrew/Kart-Public!329
2023-08-14 11:41:53 +00:00
James R
0b55e8df7b
Rename HAVE_STRLCPY to SRB2_HAVE_STRLCPY, fix non-glibc compile
...
- Fix compile with msvcrt
- Fix compile with SDL 2.28.2
2023-08-14 04:40:00 -07:00
Indev
f9880e8413
Fix ban.txt crashing game
2023-08-05 14:50:12 +03:00
James R
c499a8387e
Fix glibc 2.38 compile
...
glibc 2.38 added strlcpy and strlcat.
2023-08-03 16:45:34 -07:00
Indev
5da6d14aa1
Fix possible segfault for cvars registered from lua with flag CV_CALL
2023-07-29 18:40:48 +03:00
Sal
20a5adde02
Merge branch 'sound-refactor-backport' into 'master'
...
Sound refactor backport
Closes #22
See merge request KartKrew/Kart-Public!325
2022-12-20 10:06:25 +00:00
Sal
e8dee82341
Merge branch 'no-multi-fopen' into 'master'
...
Prevent multiple nodes fopen-ing the same file
See merge request KartKrew/Kart-Public!326
2022-12-20 10:06:14 +00:00
Sally Coolatta
c332d48e9d
Only reseek if we have to
...
Makes it act similarly to before if only 1 node needs the file.
2022-12-19 09:55:52 -05:00
Sally Coolatta
cc54d98a39
New system to prevent multiple fopen
...
Instead of FILE pointer stored in the transfer, they go in their own array. The number of nodes accessing a file is kept track of, and it's only fully closed after everyone who needs it is done with it.
Means that will unfortunately do a lot more seeking, but multiple users can download the same file now without it being implementation specific.
2022-12-19 09:48:03 -05:00
Sally Coolatta
533dc7d668
Use strerror when file transfer can't be opened
2022-12-19 09:02:39 -05:00
toaster
73ef04b5e0
Merge branch 'bigger-antigrief' into 'master'
...
Increase range of anti-grief cvar
Closes #20
See merge request KartKrew/Kart-Public!327
2022-12-19 11:32:11 +00:00
Sally Coolatta
d9e7272ff8
Increase range of anti-grief cvar
2022-12-19 06:15:14 -05:00
toaster
fcddbdeaa1
Merge branch 'buildtitle-memory-leak' into 'master'
...
Consistently free G_BuildMapTitle
See merge request KartKrew/Kart-Public!323
2022-12-17 14:50:01 +00:00