diff --git a/src/game/puppylights.c b/src/game/puppylights.c index 7b46726d..66072749 100644 --- a/src/game/puppylights.c +++ b/src/game/puppylights.c @@ -178,7 +178,7 @@ void puppylights_iterate(struct PuppyLight *light, Lights1 *src, struct Object * //Main function. Run this in the object you wish to illuminate, and just give it its light, object pointer and any potential flags if you want to use them. //If the object has multiple lights, then you run this for each light. -void puppylights_run(Lights1 *src, struct Object *obj, s32 flags, s32 baseColour) +void puppylights_run(Lights1 *src, struct Object *obj, s32 flags, u32 baseColour) { s32 i; diff --git a/src/game/puppylights.h b/src/game/puppylights.h index 47f06b5b..fbab4420 100644 --- a/src/game/puppylights.h +++ b/src/game/puppylights.h @@ -40,7 +40,7 @@ extern u16 gNumLights; extern u8 levelAmbient; extern struct PuppyLight *gPuppyLights[MAX_LIGHTS]; extern struct MemoryPool *gLightsPool; -extern void puppylights_run(Lights1 *src, struct Object *obj, s32 flags, s32 baseColour); +extern void puppylights_run(Lights1 *src, struct Object *obj, s32 flags, u32 baseColour); extern void puppylights_object_emit(struct Object *obj); extern void cur_obj_enable_light(void); extern void cur_obj_disable_light(void);