[freespace2] No text in debriefing.

Taylor Richards mtrs at bellsouth.net
Sun Jun 27 16:12:24 EDT 2004


It is pretty easy to fix if you want to do it.  In
src/mission/missionbriefcommon.cpp separate the debrief part of
mission_brief_common_reset() into it's own function,
mission_debrief_common_reset().  Add mission_debrief_common_reset() to
debrief_close() in src/missionui/missiondebrief.cpp.  That should pretty
much fix it.  There are a couple of other small changes to make sure the
memory leak is fully plugged but it's not enough of a leak for you to
worry about at this point.  That should get debriefing text working
again for you and still take care of most of the memory leak.


Taylor


On Sun, 2004-06-27 at 15:46, Nils Petter Vaskinn wrote:
> Oh well, at least I had fun trying to track down the problem. I'd gotten  
> to the
> point that I know the text can be displayed (by inserting new text into the
> debriefing struct directly from the code) but was empty. I also found the  
> parsing
> code and could see that the string was read correctly. My next step would  
> have
> been to look for where the pointer got cleared.
-- 
Taylor Richards <mtrs at bellsouth.net>




More information about the freespace2 mailing list