Not logged inOpenClonk Forum
Up Topic General / General / RELEASE BREAKING BUG in 3.0
- - By Clonkonaut [de] Date 2012-10-15 00:42
http://bugs.openclonk.org/view.php?id=820

You can't chop down a tree! There is a Damage() function added in
Changeset:
5028 (4442a2b16ef8) added burned graphics for the Coniferous


by Zapper

which alters chop down behaviour of the conifer trees to if (GetDamage() > MaxDamage() && OnFire())

You can't play any of the settlement scenarios now.
Reply
Parent - - By Clonkonaut [de] Date 2012-10-15 00:59
Fixed in 6f30192c2494

I don't get this line though:
burned->Incinerate(OnFire());

The burned tree does burn however. Maybe Zapper should take a look at this.

Bugfix release then? My tutorial fix will make it into the release then as well!
Reply
Parent - By J. J. [py] Date 2012-10-15 22:37
Good I was just going to tell you about the tree thing. :)
Parent - - By Zapper [de] Date 2012-10-15 22:49

>I don't get this line though:
>burned->Incinerate(OnFire());


OnFire returns an integer from 0 to 100 and Incinerate takes an integer from 0 to 100
Parent - By Clonkonaut [de] Date 2012-10-15 22:55
Hah, right. All this stuff was moved to script.
Reply
Up Topic General / General / RELEASE BREAKING BUG in 3.0

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill