* (bugfix) Fixed stack overflow that could happen, I created this bug the other day when fixing another bug. "that's programming!" <queue laugh track>
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1634 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
2b16aa22e3
commit
5f9e37500a
1 changed files with 2 additions and 0 deletions
|
@ -2096,12 +2096,14 @@ bool ReloadSequence(int seqID, int frame, bool bScanOnly)
|
|||
//but Dink HD doesn't due to how it has to have the ability to re-load all graphic data at any point for quick saves. So we're going to "forget" the amount
|
||||
//we reserved previously, and reallocate it
|
||||
|
||||
|
||||
//force frames to get recalculated completely
|
||||
g_dglos.g_seq[seqID].m_bDidFileScan = false;
|
||||
g_dglos.g_seq[seqID].last = 0;
|
||||
g_dglos.g_seq[seqID].s = -1;
|
||||
g_dglos.g_seq[seqID].m_spaceAllowed = 0;
|
||||
g_dglos.g_seq[seqID].frame[1] = 0;
|
||||
g_dglos.g_seq[seqID].m_bFrameSetUsed = false;
|
||||
|
||||
return ReloadSequence(seqID, frame, bScanOnly);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue