Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1/28/2010 - Xuri (0.98-4.0d)

	Added a validationcheck to effects.cpp which stopped a server crash from occuring on startup
  • Loading branch information...
commit dafb9340475424a5c557c0c5159c523ef17523ed 1 parent d82bd0d
xuridabur authored
View
3  source/Changelog.txt
@@ -1,3 +1,6 @@
+1/28/2010 - Xuri (0.98-4.0d)
+ Added a validationcheck to effects.cpp which stopped a server crash from occuring on startup
+
1/24/2010 - Xuri
Added definition of 0x1EB9 as a Tinker Tool in jse_objectassociations.scp
Added system messages confirming when items have been locked down or released in a house
View
2  source/cVersionClass.cpp
@@ -21,7 +21,7 @@ namespace UOX
// product info
//o---------------------------------------------------------------------------o
const std::string VER = "0.98-4";
-const std::string BUILD = "0c";
+const std::string BUILD = "0d";
const std::string REALBUILD = "0";
const std::string SVER = "2.0";
const std::string CVER = "2.0";
View
4 source/effect.cpp
@@ -555,7 +555,9 @@ void cEffects::checktempeffects( void )
break;
case 43:
src = calcCharObjFromSer( Effect->Source() );
- if( src->GetID() == 0xCF )
+ if( !ValidateObject( src ) ) // char doesn't exist!
+ break;
+ else if( src->GetID() == 0xCF )
break;
src->SetID( 0xCF ); // Thats all we need to do
Please sign in to comment.
Something went wrong with that request. Please try again.