Fixed crash in conversation summary and ffw/frew problem when selling
data to Melnorme (bug #476), from chmmravatar git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1227 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
Changes towards version 0.4:
|
||||
- Fixed crash in conversation summary and ffw/frew problem when
|
||||
selling data to Melnorme (bug #476), from chmmravatar
|
||||
- Flush input after selecting "Navigate" (bug #475) - Michael
|
||||
- Fixed ships in solar system getting displaced after having
|
||||
visited a planet (bug #365) -Alex
|
||||
|
||||
@@ -1704,6 +1704,8 @@ DoCommunication (PENCOUNTER_STATE pES)
|
||||
for (curr = first_chain; curr != NULL; curr = curr->next)
|
||||
{
|
||||
temp = curr->tag.data;
|
||||
if (temp == NULL)
|
||||
break;
|
||||
// fprintf (stderr, "%s\n", temp);
|
||||
while (wstrlen (temp) > (unsigned int) SUMMARY_CHARS
|
||||
&& !(GLOBAL (CurrentActivity) & CHECK_ABORT))
|
||||
|
||||
@@ -152,7 +152,7 @@ get_previous_chain (TFB_SoundChain *first_chain, TFB_SoundChain *current_chain)
|
||||
return (prev_chain);
|
||||
while (prev_chain->next)
|
||||
{
|
||||
if (prev_chain->next == current_chain)
|
||||
if (prev_chain->next == current_chain || !prev_chain->next->tag.data)
|
||||
return (prev_chain);
|
||||
prev_chain = prev_chain->next;
|
||||
}
|
||||
|
||||
@@ -669,7 +669,7 @@ FastForward_Page ()
|
||||
{
|
||||
TFB_SoundChain *cur_ptr = sound_sample->play_chain_ptr;
|
||||
LockMutex (soundSource[SPEECH_SOURCE].stream_mutex);
|
||||
while (cur_ptr->next && ! cur_ptr->tag.type)
|
||||
while (cur_ptr->next && ! cur_ptr->next->tag.type)
|
||||
cur_ptr = cur_ptr->next;
|
||||
if (cur_ptr->next)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user