Area node fix

This commit is contained in:
Fazana committed 2021-09-08 19:42:25 +01:00
1 parent f224f845d2
commit c663ad90ed
6 files changed
+17 -11

No files matched your search

+3
View File
@@ -830,6 +830,7 @@ static void level_cmd_puppyvolume(void)
sPuppyVolumeStack[gPuppyVolumeCount]->shape = CMD_GET(u8, 33);
sPuppyVolumeStack[gPuppyVolumeCount]->room = CMD_GET(s16, 34);
sPuppyVolumeStack[gPuppyVolumeCount]->area = sCurrAreaIndex;
gPuppyVolumeCount++;
#endif
@@ -876,6 +877,8 @@ static void level_cmd_puppylight_node(void)
gPuppyLights[gNumLights]->epicentre = CMD_GET(u8, 20);
gPuppyLights[gNumLights]->flags |= CMD_GET(u8, 21);
gPuppyLights[gNumLights]->active = TRUE;
gPuppyLights[gNumLights]->area = sCurrAreaIndex;
gPuppyLights[gNumLights]->room = CMD_GET(s16, 22);
gNumLights++;