knyghtmare / War_of_Legends

An add-on for the Battle for Wesnoth, a turn-based strategy game. This add-on is a multiplayer era featuring my favorite factions. It is required as a dependency to play several campaigns.
GNU General Public License v2.0
7 stars 7 forks source link

CROP_TRANSPARENT showing error in the log #207

Closed rodolphecombe closed 4 weeks ago

rodolphecombe commented 4 weeks ago

Game and System Information

Description of the bug

Getting hit by a unit with a daze special create the following error in the log: "error display: unknown image function in path: CROP_TRANSPARENT" This probably come from line 11 of theme.lua

Steps to reproduce the behavior

  1. Recruit a unit with daze (Quesnoth mystic e.g.) and attack another unit with the daze attack.
  2. Check the Log

Expected behavior

No error

Additional context

No response

knyghtmare commented 4 weeks ago

Doesn't Happen

image

knyghtmare commented 4 weeks ago

Oh, I see

20241029 13:58:54 error config: Config contains invalid attribute name 'die sound', skipping...
20241029 14:07:06 error display: unknown image function in path: CROP_TRANSPARENT
20241029 14:10:00 error display: unknown image function in path: CROP_TRANSPARENT