Comment out an ASSERT which triggers when the 'Fast Play' tutorial is run.

I think this tutorial is calling the wrong message function here, so this
is probably just a workaround. In any case, it is called to display video
we no longer have.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@527 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2006-08-05 12:17:58 +00:00
parent 4cc429e687
commit 90da3e40c8
1 changed files with 6 additions and 2 deletions

View File

@ -590,8 +590,12 @@ BOOL intAddMessageView(MESSAGE * psMessage)
BOOL Animate = TRUE;
RESEARCH *psResearch;
ASSERT((psMessage->type == MSG_RESEARCH,
"intAddMessageView: invalid message type"));
/* ASSERT((psMessage->type == MSG_RESEARCH,
* "intAddMessageView: invalid message type"));
* had to comment out this check, since the 'Fast Play' tutorial triggered it
* with psMessage->type=MSG_MISSION and ((VIEWDATA)*psMessage->pViewData)->type=VIEW_RPL,
* but which is probably using the wrong function. - Per
*/
// Is the form already up?
if(widgGetFromID(psWScreen,IDINTMAP_MSGVIEW) != NULL)