From: <ave...@us...> - 2004-03-15 12:19:29
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19119 Modified Files: GameControl.cpp Log Message: fix again: avoiding freeing the palette before it is allocated for the 1st time Index: GameControl.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/GameControl.cpp,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** GameControl.cpp 15 Mar 2004 12:03:50 -0000 1.101 --- GameControl.cpp 15 Mar 2004 12:10:21 -0000 1.102 *************** *** 69,73 **** pfsX = 0; pfsY = 0; ! SetInfoTextColor(white); lastCursor = 0; moveX = moveY = 0; --- 69,73 ---- pfsX = 0; pfsY = 0; ! InfoTextPalette = core->GetVideoDriver()->CreatePalette( white, black ); lastCursor = 0; moveX = moveY = 0; |