GeometricObject LifeTime = 0 (patch included)

GeometricObject LifeTime = 0 (patch included)

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
initram
AI Developer
Posts: 15
Joined: 07 Sep 2009, 14:28

GeometricObject LifeTime = 0 (patch included)

Post by initram »

Hi
I am creating an AI using the new c++ wrapper, and the comments for SCreateSplineFigureDrawerCommand and SCreateLineFigureDrawerCommand states that setting LifeTime to zero, should result in the object never getting removed. This however is not reflected in the implementation.

Attached is a patch that fixes that!
Attachments
0001-fix-for-LifeTime-0.txt
patch to fix LifeTime = 0
(1.02 KiB) Downloaded 21 times
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: GeometricObject LifeTime = 0 (patch included)

Post by hoijui »

applied to spring master:
http://github.com/spring/spring/commit/ ... 89f879836d

thank you! for the patch! :-)
Post Reply

Return to “Help & Bugs”