]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/explosion.c
(#819) Integrate LevelEditor Regions with Level
[nothing.git] / src / game / level / explosion.c
index 9d81b2f3e90117fb2a0245cc99697590132913da..a0f4f57c696237f4bbad642e03d50aed9206af52 100644 (file)
@@ -1,4 +1,4 @@
-#include <SDL2/SDL.h>
+#include <SDL.h>
 #include "system/stacktrace.h"
 
 #include "explosion.h"
@@ -32,9 +32,6 @@ Explosion *create_explosion(Color color,
                             float duration)
 {
     Lt *lt = create_lt();
-    if (lt == NULL) {
-        return NULL;
-    }
 
     Explosion *explosion = PUSH_LT(lt, nth_calloc(1, sizeof(Explosion)), free);
     if (explosion == NULL) {