Using hitloc enum instead of macros

This commit is contained in:
smallmodel committed 2023-08-11 01:34:21 +02:00
1 parent e80f326ee6
commit 8d41b58635
7 files changed
+106 -103

No files matched your search

+1 -1
View File
@@ -5873,7 +5873,7 @@ void Entity::EventNormalDamage(Event *ev)
e1.AddInteger(0); //knockback
e1.AddInteger(DAMAGE_NONE); //damageflags
e1.AddInteger(MOD_NONE); //meansofdeath
e1.AddInteger(LOCATION_GENERAL); //location
e1.AddInteger(HITLOC_GENERAL); //location
ProcessEvent(e1);
}