summaryrefslogtreecommitdiff
path: root/src/manager/lightLevelSetManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager/lightLevelSetManager.c')
-rw-r--r--src/manager/lightLevelSetManager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/manager/lightLevelSetManager.c b/src/manager/lightLevelSetManager.c
index 26350020..7aad3428 100644
--- a/src/manager/lightLevelSetManager.c
+++ b/src/manager/lightLevelSetManager.c
@@ -6,9 +6,11 @@
*/
#include "manager/lightLevelSetManager.h"
#include "flags.h"
-#include "functions.h"
#include "game.h"
#include "object.h"
+#include "asm.h"
+#include "effects.h"
+#include "player.h"
#include "room.h"
#include "tiles.h"
@@ -115,7 +117,7 @@ void LightLevelSetManager_Type3(LightLevelSetManager* this) {
default:
if (--this->field_0x22 == 0) {
- CreateDustAt(*(s16*)&this->field_0x38, *(s16*)&this->field_0x3a, super->type2);
+ CreateDeathFxAt(*(s16*)&this->field_0x38, *(s16*)&this->field_0x3a, super->type2);
ClearFlag(this->field_0x3e);
RestorePrevTileEntity(this->field_0x20, super->type2);
ChangeLightLevel(-super->timer);