… | |
… | |
1999 | if (SV **elem = av_fetch ((AV *)palette, idx [offs], 0)) |
1999 | if (SV **elem = av_fetch ((AV *)palette, idx [offs], 0)) |
2000 | { |
2000 | { |
2001 | object *ob = get_archetype (SvPVutf8_nolen (*elem)); |
2001 | object *ob = get_archetype (SvPVutf8_nolen (*elem)); |
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 | |
|
|
2005 | if (ob->randomitems) |
|
|
2006 | { |
|
|
2007 | ob->create_treasure (ob->randomitems); |
|
|
2008 | ob->randomitems = 0; |
|
|
2009 | } |
2004 | } |
2010 | } |
2005 | } |
2011 | } |
2006 | } |
2012 | } |
2007 | |
2013 | |
2008 | skip_space: ; |
2014 | skip_space: ; |