Fixed bug #657167: Crash on human campaign level 2
This commit is contained in:
parent
9990194373
commit
61ea379ede
2 changed files with 2 additions and 1 deletions
|
@ -1007,6 +1007,7 @@
|
|||
<LI>Fixed bug #611417: Campaign not saved (from Jimmy Salmon).
|
||||
<LI>Fixed bug #628947: WC2 Graphic Display Errors (from Jimmy Salmon).
|
||||
<LI>Added smooth scrolling for messages (from Jimmy Salmon).
|
||||
<LI>Fixed bug #657167: Crash on human campaign level 2 (from Jimmy Salmon).
|
||||
<LI>+++
|
||||
</UL>
|
||||
</UL>
|
||||
|
|
|
@ -313,7 +313,7 @@ local SCM CclDefineCampaign(SCM list)
|
|||
if( Campaigns ) {
|
||||
for( i=0; i<NumCampaigns; ++i ) {
|
||||
if( !strcmp(Campaigns[i].Ident, ident) ) {
|
||||
if( Campaigns[i].Chapters ) {
|
||||
if( !strcmp(ident, "current") && Campaigns[i].Chapters ) {
|
||||
FreeChapters(&Campaigns[i].Chapters);
|
||||
}
|
||||
campaign=Campaigns+i;
|
||||
|
|
Loading…
Add table
Reference in a new issue