Signedness fix

This commit is contained in:
Fazana
2021-09-07 22:52:12 +01:00
parent ba8cc7cd5c
commit 315eac02ae
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);