[Scummvm-cvs-logs] SF.net SVN: scummvm: [32607] scummvm/trunk/engines/drascula/drascula.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jun 8 04:00:35 CEST 2008


Revision: 32607
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32607&view=rev
Author:   thebluegr
Date:     2008-06-07 19:00:34 -0700 (Sat, 07 Jun 2008)

Log Message:
-----------
Initialize _charMap to avoid crash when drascula.dat doesn't exist

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/drascula.cpp

Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp	2008-06-07 21:10:19 UTC (rev 32606)
+++ scummvm/trunk/engines/drascula/drascula.cpp	2008-06-08 02:00:34 UTC (rev 32607)
@@ -102,6 +102,7 @@
 		_lang = 0;
 	}
 
+	_charMap = 0;
 	if (!loadDrasculaDat())
 		return 1;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list