mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fixed crash in uv_update_scroll()
This commit is contained in:
parent
8f938e25ca
commit
ae76ad7c00
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ static void shift_UV_SINE(u32 vtxIndex, u16 vertcount, s16 speed, u16 bhv, u16 c
|
||||||
* Behavior param = scroll target index
|
* Behavior param = scroll target index
|
||||||
*/
|
*/
|
||||||
void uv_update_scroll(void) {
|
void uv_update_scroll(void) {
|
||||||
|
if (!o) { return; }
|
||||||
s16 speed = (s16) o->oPosX;
|
s16 speed = (s16) o->oPosX;
|
||||||
u16 bhv = (u16) o->oPosY;
|
u16 bhv = (u16) o->oPosY;
|
||||||
u16 vertCount = (u16) o->oPosZ;
|
u16 vertCount = (u16) o->oPosZ;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue