ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.200 by root, Sat Apr 28 17:51:58 2007 UTC vs.
Revision 1.201 by root, Sun Apr 29 00:19:17 2007 UTC

2002 ob->flag [FLAG_NO_MAP_SAVE] = true; 2002 ob->flag [FLAG_NO_MAP_SAVE] = true;
2003 THIS->insert (ob, x, y, 0, INS_ABOVE_FLOOR_ONLY); 2003 THIS->insert (ob, x, y, 0, INS_ABOVE_FLOOR_ONLY);
2004 2004
2005 if (ob->randomitems) 2005 if (ob->randomitems)
2006 { 2006 {
2007 // do not generate treasure when there is something here already
2008 if (!ob->above)
2007 ob->create_treasure (ob->randomitems); 2009 ob->create_treasure (ob->randomitems);
2010
2008 ob->randomitems = 0; 2011 ob->randomitems = 0;
2009 } 2012 }
2010 } 2013 }
2011 } 2014 }
2012 } 2015 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines