Add collision.h and start using its enum

This commit is contained in:
Elliptic Ellipsis
2022-03-24 22:18:39 +00:00
parent 5a9bf6dd82
commit 6eea9aace2
4 changed files with 50 additions and 43 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
* @brief Flying pot enemy
*/
#define NENT_DEPRECATED
#include "collision.h"
#include "functions.h"
#include "enemy.h"
#include "player.h"
@@ -234,7 +235,7 @@ void FlyingPot_Action4(FlyingPotEntity* this) {
void FlyingPot_Action5(FlyingPotEntity* this) {
ProcessMovement2(super);
if (super->collisions != 0) {
if (super->collisions != COL_NONE) {
sub_08037408(this);
}
}