Forest Generator crashes without a Pond

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
grayswandir
Uruivellas
Posts: 708
Joined: Wed Apr 30, 2008 5:55 pm

Forest Generator crashes without a Pond

#1 Post by grayswandir »

In engine/generator/map/Forest.lua:

Since there's the line stating:

Code: Select all

if self.do_ponds then
in the _M:generate function, I'm assuming that the ponds are supposed to be optional.
However, if you don't supply a do_ponds argument, then it crashes in the _M:init function at:

Code: Select all

self.do_ponds.zoom = self.do_ponds.zoom or 5
Addons: Arcane Blade Tweaks, Fallen Race, Monk Class, Weapons Pack
Currently working on Elementals. It's a big project, so any help would be appreciated. :)

darkgod
Master of Eyal
Posts: 10738
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Forest Generator crashes without a Pond

#2 Post by darkgod »

Yup already fixed:)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply