Merge branch 'master' into dev
This commit is contained in:
commit
03b60f6140
|
@ -7,7 +7,7 @@ project(breakhack C)
|
||||||
set(breakhack_GAME_TITLE "BreakHack")
|
set(breakhack_GAME_TITLE "BreakHack")
|
||||||
set(breakhack_MAJOR_VERSION 1)
|
set(breakhack_MAJOR_VERSION 1)
|
||||||
set(breakhack_MINOR_VERSION 1)
|
set(breakhack_MINOR_VERSION 1)
|
||||||
set(breakhack_PATCH_VERSION 1)
|
set(breakhack_PATCH_VERSION 3)
|
||||||
set(breakhack_RELEASE_TYPE "")
|
set(breakhack_RELEASE_TYPE "")
|
||||||
|
|
||||||
include(FindLua)
|
include(FindLua)
|
||||||
|
|
|
@ -499,6 +499,12 @@ skill_charge(Skill *skill, SkillData *data)
|
||||||
else if (destSpace->trap)
|
else if (destSpace->trap)
|
||||||
trap_activate(destSpace->trap, player);
|
trap_activate(destSpace->trap, player);
|
||||||
|
|
||||||
|
LinkedList *objects = destSpace->objects;
|
||||||
|
while (objects) {
|
||||||
|
object_damage(objects->data, player);
|
||||||
|
objects = objects->next;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue