Update of /cvsroot/hgengine/Mercury/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16389
Modified Files:
MercuryModel.cpp
Log Message:
Make models follow theme.
Index: MercuryModel.cpp
===================================================================
RCS file: /cvsroot/hgengine/Mercury/src/MercuryModel.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** MercuryModel.cpp 30 Nov 2005 02:38:45 -0000 1.31
--- MercuryModel.cpp 17 Dec 2005 22:58:07 -0000 1.32
***************
*** 83,87 ****
void MercuryModel::Load(CString path)
{
! m_path = "Models/" + path.substr(0, path.find_last_of("/")+1);
m_filename = path.substr(path.find_last_of("/")+1);
OpenFile(m_path + m_filename);
--- 83,87 ----
void MercuryModel::Load(CString path)
{
! m_path = path.substr(0, path.find_last_of("/")+1);
m_filename = path.substr(path.find_last_of("/")+1);
OpenFile(m_path + m_filename);
|