git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2458 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-08-31 17:49:18 +00:00
parent e3da577221
commit 0bf8aa0ad0
+3 -3
View File
@@ -1879,12 +1879,12 @@ void welcomepacket(ucharbuf &p, int n)
bool restored = false;
if(c && (m_demo || m_mp(smode)))
{
if(c.type==ST_TCPIP)
if(c->type==ST_TCPIP)
{
savedscore *sc = findscore(*cl, false);
savedscore *sc = findscore(*c, false);
if(sc)
{
sc->restore(cl->state);
sc->restore(c->state);
restored = true;
}
}