From: Keith F. <ven...@us...> - 2003-04-08 05:49:16
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/imp In directory sc8-pr-cvs1:/tmp/cvs-serv24299 Modified Files: pslinmove.cpp Log Message: Fixed sector crossing ptr. Index: pslinmove.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/imp/pslinmove.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** pslinmove.cpp 8 Apr 2003 05:18:06 -0000 1.76 --- pslinmove.cpp 8 Apr 2003 05:49:12 -0000 1.77 *************** *** 962,968 **** { // Sector changed, find new sector and set it ! iSector* newSector = engine->GetSectors()->FindByName((char*) tptr); if (!newSector) ! fprintf (stderr, "[celPcLinearMovement::SetDRData] Sector %s not found !\n", (char*) tptr); else pcmesh->GetMesh()->GetMovable()->SetSector(newSector); --- 962,968 ---- { // Sector changed, find new sector and set it ! iSector* newSector = engine->GetSectors()->FindByName(actionnum); if (!newSector) ! fprintf (stderr, "[celPcLinearMovement::SetDRData] Sector %s not found !\n", actionnum); else pcmesh->GetMesh()->GetMovable()->SetSector(newSector); |