12-09-2009, 10:03 AM
Sorry to bump an old thread on a forum I don't even visit anymore. I just want to share this for others having problems.
Apparently, VB didn't like the fact that the Y value when checking the DoorOpen attribute in the TempTile array.
This line of code produced the Freeze:
After making my changes...
It worked. Perfectly. Anyone else who has the same problem I described, try it.
I'm sure it's bad to remove such a check, but my game doesn't use door tiles at all, so, I removed the array completely after figuring out this made the problem.
God... I hate that. An unused feature was fucking up PDoA.
Anywho, after may years of trying to combat the problem, I finally found a quick fix for it. I'm sure you could come about this better, but...
This works for me. =]
Back to lurking and minimal posting for me.
Apparently, VB didn't like the fact that the Y value when checking the DoorOpen attribute in the TempTile array.
This line of code produced the Freeze:
Code:
If Anim1 > 0 Then And TempTile(X, y).DoorOpen = NO Then
After making my changes...
Code:
If Anim1 > 0 Then 'And TempTile(X, y).DoorOpen = NO Then
It worked. Perfectly. Anyone else who has the same problem I described, try it.
I'm sure it's bad to remove such a check, but my game doesn't use door tiles at all, so, I removed the array completely after figuring out this made the problem.
God... I hate that. An unused feature was fucking up PDoA.
Anywho, after may years of trying to combat the problem, I finally found a quick fix for it. I'm sure you could come about this better, but...
This works for me. =]
Back to lurking and minimal posting for me.