diff --git a/CMakeLists.txt b/CMakeLists.txt index 5df9180..30d089a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ project(breakhack C) set(breakhack_GAME_TITLE "BreakHack") set(breakhack_MAJOR_VERSION 1) set(breakhack_MINOR_VERSION 1) -set(breakhack_PATCH_VERSION 1) +set(breakhack_PATCH_VERSION 3) set(breakhack_RELEASE_TYPE "") include(FindLua) diff --git a/src/skill.c b/src/skill.c index a27d432..1bcc680 100644 --- a/src/skill.c +++ b/src/skill.c @@ -499,6 +499,12 @@ skill_charge(Skill *skill, SkillData *data) else if (destSpace->trap) trap_activate(destSpace->trap, player); + LinkedList *objects = destSpace->objects; + while (objects) { + object_damage(objects->data, player); + objects = objects->next; + } + return true; }