vItems: kein automatisches P_SHORT
Bei reinen vItems wird keine implizite P_SHORT mehr
automatisch gesetzt.
Ohne P_SHORT ist es zwar nicht wahrnehmbar und Teil
von Gegenstandsgruppen in present_objects (fuer
put_and_get), aber untersuchbar und der Zustand ist
gar nicht selten gewuenscht.
Change-Id: Ifc07ca70ca25257595bc03008350df6c821a09f7
diff --git a/std/container/vitems.c b/std/container/vitems.c
index ca50dc2..c8ab4ee 100644
--- a/std/container/vitems.c
+++ b/std/container/vitems.c
@@ -88,16 +88,16 @@
// irgendwie muss es ja ansprechbar sein. (Wenn es ein Objekt mit Templat
// ist, hat es normalerweise die IDs aus dem Templat. Wenn man das nicht
// will, muss man es mit gezielter Angabe von P_IDS in den Shadowprops
- // ueberschreiben.) Gleiches fuer P_NAME (ohne ist ein "Ding") und P_SHORT
- // (ohne P_SHORT ist es unsichtbar)
+ // ueberschreiben.) Gleiches fuer P_NAME (ohne ist ein "Ding")
+ // P_SHORT wird *nicht* automatisch gesetzt - ohne ist es zwar nicht
+ // wahrnehmbar, aber untersuchbar und der Zustand ist gar nicht selten
+ // gewuenscht.
if (!path)
{
if (!member(shadowprops, P_IDS))
shadowprops[P_IDS] = ({key});
if (!member(shadowprops, P_NAME))
shadowprops[P_NAME] = capitalize(key);
- if (!member(shadowprops, P_SHORT))
- shadowprops[P_SHORT] = capitalize(key);
}
mixed vitems=QueryProp(P_VITEMS);
if (!mappingp(vitems))