  	static CDefHandler * giveDef(const std::string & defName);
 Index: client/CCreatureAnimation.h
 ===================================================================
---- client/CCreatureAnimation.h	(revision 2183)
+--- client/CCreatureAnimation.h	(revision 2220)
 +++ client/CCreatureAnimation.h	(working copy)
 @@ -66,6 +66,8 @@
  	int curFrame, internalFrame; //number of currently displayed frame

 
@@ -227,6 +240,8 @@
 					{
 						if(!destRect || (destRect->x <= xB && destRect->x + destRect->w > xB))
 						{
+							if(SegmentType == 0xff)
+								CHECK_LOD_MEM_BLOCK_SIZE(BaseOffset+k+1);

 		} 
 
 		//tlog0 << " pushing ";
@@ -679,7 +719,7 @@
 		events.push(ev);
 		eventsM.unlock();
 		//tlog0 << " done\n";
