Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hat-Kid committed Dec 7, 2024
1 parent c0aef6b commit 100b706
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions goal_src/jak2/engine/gfx/foreground/ripple.gc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
(defun ripple-make-request ((waveform ripple-wave) (effect merc-effect))
"Iterate through [[*ripple-globals*]] `requests` looking for the one that matches the provided `effect`
If NOT found, append a new [[ripple-request]] with the providded `effect` and `waveform` to the end of the `requests`.
NOTE: There can only be 16 effects at a given time, NOOP if already at that limit!"
(let ((v1-1 (-> *ripple-globals* count))
(a2-1 (-> *ripple-globals* requests))
Expand Down Expand Up @@ -76,7 +76,7 @@
"Iterate through [[*ripple-globals*]] requests, from the end to index `0`
For each request, if it has a `waveform` create the wave-table via `ripple-create-wave-table`
Then for each `waveform` apply the `effect` using `ripple-apply-wave-table`
Once completed, all `requests` have been processed and the `count` is reset to `0`"
(when (-> *ripple-globals* count)
(ripple-execute-init)
Expand Down
4 changes: 2 additions & 2 deletions goal_src/jak2/engine/gfx/hw/video.gc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
(defun set-video-mode ((tv-format symbol))
"Set related settings to the video mode in the settings, [[*video-params*]] and the [[*video-mode*]]
`ntsc` has a [[*video-mode*]] value of `0`, where as `pal` has a value of `1`
Will also set a bunch of common settings related to profiling and the camera to finalize the switch
@param tv-format Recognizes `ntsc` and `pal`"
(case tv-format
(('ntsc)
Expand Down
2 changes: 1 addition & 1 deletion goal_src/jak2/levels/common/elec-gate.gc
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@
(defmethod set-state! ((this elec-gate))
"If either [[actor-option::17]] is set on the [[elec-gate]] or the related subtask is completed
make the gate `idle`.
Otherwise, the gate will be `active`."
(if (or (logtest? (actor-option user17) (-> this fact options))
(and (-> this entity) (logtest? (-> this entity extra perm status) (entity-perm-status subtask-complete)))
Expand Down

0 comments on commit 100b706

Please sign in to comment.