TPT crashes after stkm save

  • dwing3
    27th Sep 2010 Member 0 Permalink
    tpt crashes staight after i save a stamp with the stkm. ever since i got version 42.3
  • yew101
    27th Sep 2010 Member 0 Permalink
    STKM is not a normal element.
  • Felix
    27th Sep 2010 Member 0 Permalink
    STKM is just a element like any other, with some special properties.
  • yew101
    27th Sep 2010 Member 0 Permalink
    thats what i mean *special properties*
  • Felix
    27th Sep 2010 Member 0 Permalink
    yew101:
    thats what i mean *special properties*

    All elements have special properties.
  • savask
    27th Sep 2010 Developer 0 Permalink
    It is very easy to fix this bug, it appeares because somebody commented part of the code which checks if stick man was spawned. You need to uncomment it and no crashing anymore.
  • Simon
    27th Sep 2010 Administrator 0 Permalink
    savask
    Whereabouts?
  • savask
    27th Sep 2010 Developer 0 Permalink
    main.c -> parse_save -> search for "PT_STKM"
  • Simon
    27th Sep 2010 Administrator 0 Permalink
    savask
    That should not cause TPT to crash, it was a fix to prevent the save not loading when it contained stickman and there is already one in the game.
  • savask
    27th Sep 2010 Developer 0 Permalink
    Yep, but it works.