From: Anders R. <ma...@us...> - 2005-12-01 22:10:16
|
Update of /cvsroot/planeshift/planeshift/src/common/psbehave In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18913/src/common/psbehave Modified Files: psworld.cpp psworld.h Log Message: Getting rid of tabs... Index: psworld.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psbehave/psworld.cpp,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** psworld.cpp 6 Sep 2005 08:42:05 -0000 1.61 --- psworld.cpp 1 Dec 2005 22:09:32 -0000 1.62 *************** *** 1,5 **** /* * psworld.cpp - author Matze Braun <Mat...@gm...> and ! * Keith Fulton <ke...@pa...> * * Copyright (C) 2001 Atomic Blue (in...@pl..., http://www.atomicblue.org) --- 1,5 ---- /* * psworld.cpp - author Matze Braun <Mat...@gm...> and ! * Keith Fulton <ke...@pa...> * * Copyright (C) 2001 Atomic Blue (in...@pl..., http://www.atomicblue.org) *************** *** 63,67 **** if (sharedRegion != NULL) { ! csRef<iEngine> engine = CS_QUERY_REGISTRY (object_reg, iEngine); engine->GetRegions()->Remove(sharedRegion); } --- 63,67 ---- if (sharedRegion != NULL) { ! csRef<iEngine> engine = CS_QUERY_REGISTRY (object_reg, iEngine); engine->GetRegions()->Remove(sharedRegion); } *************** *** 283,291 **** if (!rgn->IsLoaded() ) { ! return false; } } ! ! return true; } --- 283,291 ---- if (!rgn->IsLoaded() ) { ! return false; } } ! ! return true; } *************** *** 433,441 **** csRef<iDocumentNode> world = doc->GetRoot()->GetNode("world"); ! if(!world) ! { ! Error2("No <world> tag in %s", target.GetData()); ! return; ! } csRef<iDocumentNode> node = world->GetNode("textures"); if(node) --- 433,441 ---- csRef<iDocumentNode> world = doc->GetRoot()->GetNode("world"); ! if(!world) ! { ! Error2("No <world> tag in %s", target.GetData()); ! return; ! } csRef<iDocumentNode> node = world->GetNode("textures"); if(node) Index: psworld.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psbehave/psworld.h,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** psworld.h 17 Jun 2005 14:09:53 -0000 1.25 --- psworld.h 1 Dec 2005 22:09:32 -0000 1.26 *************** *** 1,5 **** /* * psworld.h - author Matze Braun <Mat...@gm...> and ! * Keith Fulton <ke...@pa...> * * Copyright (C) 2001 Atomic Blue (in...@pl..., http://www.atomicblue.org) --- 1,5 ---- /* * psworld.h - author Matze Braun <Mat...@gm...> and ! * Keith Fulton <ke...@pa...> * * Copyright (C) 2001 Atomic Blue (in...@pl..., http://www.atomicblue.org) |