mirror of
https://github.com/zeldaret/tmc
synced 2026-08-16 13:17:13 -04:00
Use COL_ enum
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "entity.h"
|
||||
#include "collision.h"
|
||||
#include "enemy.h"
|
||||
#include "functions.h"
|
||||
#include "object.h"
|
||||
@@ -66,7 +67,7 @@ void ArrowProjectile_Action1(Entity* this) {
|
||||
}
|
||||
|
||||
void ArrowProjectile_Action2(Entity* this) {
|
||||
if (this->collisions != 0) {
|
||||
if (this->collisions != COL_NONE) {
|
||||
this->action = 3;
|
||||
COLLISION_OFF(this);
|
||||
this->actionDelay = 0x20;
|
||||
|
||||
Reference in New Issue
Block a user