supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Small cosmetic wind adjustments

Open weluvgoatz opened this issue 2 years ago • 4 comments

This PR makes the wind particles point in the proper direction now, as well as putting wind on a layer behind others so that you can actually grab other objects in the editor when there's wind in the level.

weluvgoatz avatar Mar 17 '24 20:03 weluvgoatz

This will fail if sprite ever is NULL (null dereference).

tobbi avatar Mar 18 '24 18:03 tobbi

@mrkubax10 Were you so certain that sprite could never be null that you deref'ed it without checking?

tobbi avatar Mar 18 '24 18:03 tobbi

If you return a pointer instead it will fail in other place.

mrkubax10 avatar Mar 18 '24 19:03 mrkubax10

Not when there's suitable null checks.

tobbi avatar Mar 18 '24 19:03 tobbi

Closing as there doesn't seem to be any desire to have this.

weluvgoatz avatar Jul 09 '24 05:07 weluvgoatz