Skip to content

Commit

Permalink
Fix mobs glide incorrectly when buckled
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene committed Dec 10, 2023
1 parent d1f6d43 commit efdfff0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/buckling.dm
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@
if (!buckled_mob)
return
if (loc)
// [SIERRA-ADD] - SSINPUT
buckled_mob.set_glide_size(glide_size)
// [/SIERRA-ADD]
buckled_mob.forceMove(loc)
else
unbuckle_mob()
Expand All @@ -383,6 +386,9 @@
if (!buckled_mob)
return
if (loc)
// [SIERRA-ADD] - SSINPUT
buckled_mob.set_glide_size(glide_size)
// [/SIERRA-ADD]
buckled_mob.forceMove(loc)
else
unbuckle_mob()
1 change: 1 addition & 0 deletions mods/ssinput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ID мода: SSINPUT
- `code/__defines/subsystem-priority.dm`: `#define SS_PRIORITY_INPUT`
- `code/__defines/subsystems.dm`: `#define SS_INIT_INPUT`
- `code/_onclick/click.dm`: `/mob/proc/MiddleClickOn()`
- `code/game/objects/buckling.dm`: `/obj/Move()`, `/obj/forceMove()`
- `code/game/verbs/ooc.dm`: `/client/verb/ooc()`, `/client/verb/looc()`
- `code/modules/admin/callproc/callproc.dm`: `/client/Click()`
- `code/modules/client/client_procs.dm`: `/client/New()`, `/client/verb/toggle_fullscreen()`
Expand Down

0 comments on commit efdfff0

Please sign in to comment.