Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SSNTails
SRB2
Compare revisions
next to issue1175
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
SSNTails/SRB2
Select target project
No results found
issue1175
Select Git revision
Branches
1239
21-installer-nodd
2210-pre1
2210-pre2
2210-rc1
2210-rc2
2210-rc3
622-teamlives-hud
64-gl-log
COM_ImmedExecute-lua
DJGPP
accel-momentum
alien-breed-3d
appveyor
bbox
blend-locking
blentran
blua-unary-not-fix
boost-tickrate
bustablesoundz
cleanup-opengl
cmake-clang-tidy
cmake-enable-cxx
cmake-valgrind
crawlacommander-sprites
cutscene-cleanup
dd-music-bypass
dd-music-fix
deprecate-lua-dedicated-server
dpl-2
dropshadows-spawning
emblem-drawing
exchndl-xp-fix
few-kart-lua-changes
ffloorclip
fix-cvar-conflicts
fix-hurtmsg-hook
fix-opengl-shear-roll
flipfuncpointers
floormover-tag-fix
floorsprite-and-shadow-fake-planes-fix
fof-lightlist-fixes
font-FUCK
font_drawer
frictionrefactor
fuck-macros-1
fullscreen-toggle
gamepad_experiments
gamepadtweaks
ghost-networking
gif-splitting
gitlab-ci
grr-lj
hitboxviewer
hms-useragent
hwr-texture-cache-refactor
hwrender2
improve-439
increase-packet-tics
increase-unlockables
input-display
input-display-translucency
io
ipv6
issue1150
issue1150c
issue1151
issue1157
issue1170
issue1175
issue1184
issue1230
issue167
issue299
issue912
joystick-juggling-maz
keycodes-only
ksf-wadfiles
ld413-mp-fix
libpng-version-support
linedef-actions
lj-test
lol-states
loopedsounds
lower-unpegged-fix
lua-command-netids
lua-local
lua-minmax-plus-bruh-moments
makefile-auto-mingw-gcc
makefile-tinkering
map-components-signedness-fixes
master
menu-edits
mobj-dispoffset
models-plus-final
more-cleanup
more-use-afters-frees
musicdef-lua
net-test
netcode-refactor
Tags
SRB2_release_2.1
SRB2_release_2.1.1
SRB2_release_2.1.10
SRB2_release_2.1.11
SRB2_release_2.1.12
SRB2_release_2.1.14
SRB2_release_2.1.15
SRB2_release_2.1.16
SRB2_release_2.1.16a
SRB2_release_2.1.17
SRB2_release_2.1.18
SRB2_release_2.1.19
SRB2_release_2.1.2
SRB2_release_2.1.20
SRB2_release_2.1.21
SRB2_release_2.1.22
SRB2_release_2.1.23
SRB2_release_2.1.24
SRB2_release_2.1.25
SRB2_release_2.1.3
SRB2_release_2.1.4
SRB2_release_2.1.5
SRB2_release_2.1.6
SRB2_release_2.1.7
SRB2_release_2.1.8
SRB2_release_2.1.9
SRB2_release_2.2.0
SRB2_release_2.2.1
SRB2_release_2.2.10
SRB2_release_2.2.2
SRB2_release_2.2.3
SRB2_release_2.2.4
SRB2_release_2.2.5
SRB2_release_2.2.6
SRB2_release_2.2.7
SRB2_release_2.2.8
SRB2_release_2.2.9
td-release-v1.0.0
138 results
Swap
Target
STJr/SRB2
Select target project
STJr/SRB2
Sryder/SRB2
wolfy852/SRB2
Alpha2244/SRB2
Inuyasha/SRB2
yoshibot/SRB2
TehRealSalt/SRB2
PrisimaTF/SRB2
Hatninja/SRB2
SteelT/SRB2
james/SRB2
ShaderWraith/SRB2
SinnamonLat/SRB2
mazmazz_/SRB2
filpAM/SRB2
chaoloveicemdboy/SRB2
Whooa21/SRB2
Machturne/SRB2
Golden/SRB2
Tatsuru/SRB2
Snu/SRB2
Zwip-Zwap_Zapony/SRB2
fickleheart/SRB2
alphaRexJames/SRB2
JJK/SRB2
diskpoppy/SRB2
Hannu_Hanhi/SRB2
ZipperQR/SRB2
kays/SRB2
spherallic/SRB2
Zippy_Zolton/SRB2
namiishere/SRB2
Ors/SRB2
SMS_Alfredo/SRB2
sonic_edge/SRB2
lavla/SRB2
ashi/SRB2
X.organic/SRB2
Fafabis/SRB2
Meziu/SRB2
v-rob/SRB2
tertu/SRB2
bitten2up/SRB2
flarn2006/SRB2
Krabs/SRB2
clairebun/SRB2
Lactozilla/SRB2
thehackstack/SRB2
Spice/SRB2
win8linux/SRB2
JohnFrostFox/SRB2
talktoneon726/SRB2
Wane/SRB2
Lamibe/SRB2
spectrumuk2/srb-2
nerdyminer18/srb-2
256nil/SRB2
ARJr/SRB2
Alam/SRB2
Zenya/srb-2-marathon-demos
Acelite/srb-2-archivedmodifications
MIDIMan/SRB2
Lach/SRB2
Frostiikin/bounce-tweaks
Jaden/SRB2
Tyron/SRB2
Astronight/SRB2
Mari0shi06/SRB2
aiire/SRB2
Galactice/SRB2
srb2-ports/srb2-dreamcast
sdasdas/SRB2
chreas/srb-2-vr
StarManiaKG/the-story-of-sinically-rocketing-and-botching-the-2nd
LoganAir/SRB2
NepDisk/srb-2
alufolie91/SRB2
Felicia.iso/SRB2
twi/SRB2
BarrelsOFun/SRB2
Speed2411/SRB2
Leather_Realms/SRB2
Ayemar/SRB2
Acelite/SRB2
VladDoc/SRB2
kaldrum/model-features
strawberryfox417/SRB2
Lugent/SRB2
Rem/SRB2
Refrag/SRB2
Henry_3230/srb-3230
TehPuertoRicanSpartan2/tprs-srb2
Leminn/srb-2-marathon-stuff
chromaticpipe2/SRB2
MiguelGustavo15/SRB2
Maru/srb-2-tests
SilicDev/SRB2
UnmatchedBracket/SRB2
HybridDog/SRB2
xordspar0/SRB2
jsjhbewfhh/SRB2
Fancy2209/SRB2
Lorsoen/SRB2
shindoukin/SRB2
GamerOfDays/SRB2
Craftyawesome/SRB2
tenshi-tensai-tennoji/SRB2
Scarfdudebalder/SRB2
luigi-budd/srb-2-fix-interplag-lockon
mskluesner/SRB2
johnpetersa19/SRB2
Pheazant/SRB2
chromaticpipe2/srb2classic
romoney5/SRB2
PAS/SRB2Classic
BlueStaggo/SRB2
Jisk/srb-2-beef-jerky
117 results
next
Select Git revision
Branches
1392-2-2-15-attempting-to-draw-a-hud-graphic-with-the-same-lump-name-as-a-lua-script-crashes-the
21-installer-nodd
2210-pre1
2210-pre2
2210-rc1
2210-rc2
2210-rc3
2211-pre1
2211-pre2
2211-rc1
2212-pre1
2212-pre2
2212-pre3
2212-rc1
2213
2214-pre1
2214-pre2
2214-pre3
2214-pre4
2_2_12
64-gl-log
COM_ImmedExecute-lua
DJGPP
accel-momentum
acs
action-args
alpha-fixes
any-resolution
appveyor
blend-locking
blentran
blua-unary-not-fix
boost-tickrate
bustablesoundz
cleanup-opengl
cleanupmusic
clipmidtex
cmake-valgrind
crawlacommander-sprites
custom-map-names
custom-teams
cutscene-cleanup
dd-music-bypass
dd-music-fix
delfile2
deprecate-lua-dedicated-server
dpl-2
dropshadows-spawning
dynabsp
emblem-drawing
exchndl-xp-fix
extra-textures
few-kart-lua-changes
ffloorclip
fix-167
fix-cvar-conflicts
fix-opengl-parameter-crash
fix-opengl-shear-roll
flipfuncpointers
fof-lightlist-fixes
font-FUCK
frictionrefactor
fuck-macros-1
gamepad-luakeydown
gamepad-morefixes
gamepad_experiments
gametype-refactor
gametype-refactor-1
gametype-refactor-player-spawns
ghost-networking
gif-splitting
grr-lj
hitboxviewer
hwr-texture-cache-refactor
hwrender2
improve-439
increase-maxconditionsets
increase-packet-tics
input-display
input-display-translucency
io
joystick-juggling-maz
just-in-case
keycodes-only
ksf-wadfiles
ld413-mp-fix
levelstruct
libpng-version-support
linedef-actions
lj-test
lol-states
loopedsounds
lower-unpegged-fix
lua-change-gametype
lua-command-netids
lua-gfx-2
lua-gfx-sprites
lua-local
makefile-auto-mingw-gcc
makefile-tinkering
Tags
SRB2_release_2.1
SRB2_release_2.1.1
SRB2_release_2.1.10
SRB2_release_2.1.11
SRB2_release_2.1.12
SRB2_release_2.1.14
SRB2_release_2.1.15
SRB2_release_2.1.16
SRB2_release_2.1.16a
SRB2_release_2.1.17
SRB2_release_2.1.18
SRB2_release_2.1.19
SRB2_release_2.1.2
SRB2_release_2.1.20
SRB2_release_2.1.21
SRB2_release_2.1.22
SRB2_release_2.1.23
SRB2_release_2.1.24
SRB2_release_2.1.25
SRB2_release_2.1.3
SRB2_release_2.1.4
SRB2_release_2.1.5
SRB2_release_2.1.6
SRB2_release_2.1.7
SRB2_release_2.1.8
SRB2_release_2.1.9
SRB2_release_2.2.0
SRB2_release_2.2.1
SRB2_release_2.2.10
SRB2_release_2.2.11
SRB2_release_2.2.12
SRB2_release_2.2.13
SRB2_release_2.2.15
SRB2_release_2.2.2
SRB2_release_2.2.3
SRB2_release_2.2.4
SRB2_release_2.2.5
SRB2_release_2.2.6
SRB2_release_2.2.7
SRB2_release_2.2.8
SRB2_release_2.2.9
td-release-v1.0.0
142 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
View open merge request
Commits on Source (4)
ML_BOUNCY will count pushables in all sectors the line is tagged to
· 0255b7ea
SSNTails
authored
1 year ago
0255b7ea
Don't change drawangle when riding on a fan
· e4d59fc3
SSNTails
authored
1 year ago
e4d59fc3
lol wrong issue, reverting last commit
· c3ebc5a8
SSNTails
authored
1 year ago
c3ebc5a8
Merge branch SRB2:next into issue1175
· a051ebc0
Alam Ed Arias
authored
4 months ago
a051ebc0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/p_spec.c
+24
-5
24 additions, 5 deletions
src/p_spec.c
with
24 additions
and
5 deletions
src/p_spec.c
Edit
View file @
a051ebc0
...
@@ -1527,12 +1527,31 @@ static boolean P_CheckPushables(line_t *triggerline, sector_t *caller)
...
@@ -1527,12 +1527,31 @@ static boolean P_CheckPushables(line_t *triggerline, sector_t *caller)
if (!caller)
if (!caller)
return false; // we need a calling sector to find pushables in, silly!
return false; // we need a calling sector to find pushables in, silly!
// Count the pushables in this sector
if (triggerline->flags & ML_BOUNCY) // Count pushables in ALL sectors this line is tagged to
for
(
node
=
caller
->
touching_thinglist
;
node
;
node
=
node
->
m_thinglist_next
)
{
{
mo
=
node
->
m_thing
;
for (size_t i = 0; i < numsectors; i++)
if
((
mo
->
flags
&
MF_PUSHABLE
)
||
((
mo
->
info
->
flags
&
MF_PUSHABLE
)
&&
mo
->
fuse
))
{
numpushables
++
;
if (sectors[i].triggertag != caller->triggertag)
continue;
// Count the pushables in this sector
for (node = sectors[i].touching_thinglist; node; node = node->m_thinglist_next)
{
mo = node->m_thing;
if ((mo->flags & MF_PUSHABLE) || ((mo->info->flags & MF_PUSHABLE) && mo->fuse))
numpushables++;
}
}
}
else
{
// Count the pushables in this sector
for (node = caller->touching_thinglist; node; node = node->m_thinglist_next)
{
mo = node->m_thing;
if ((mo->flags & MF_PUSHABLE) || ((mo->info->flags & MF_PUSHABLE) && mo->fuse))
numpushables++;
}
}
}
switch (triggerline->args[2])
switch (triggerline->args[2])
...
...
This diff is collapsed.
Click to expand it.