QueryOwner hat kein Argument
Prototyp gefixt und Aufrufe in modules/losa.c
Behebt Inkonsistenz zwischen prototyp und
definition.
Change-Id: If35bd76e1395e724386fc70a88573b9ed3aa58d6
diff --git a/d/seher/haeuser/haus.h b/d/seher/haeuser/haus.h
index 873956e..a54401e 100644
--- a/d/seher/haeuser/haus.h
+++ b/d/seher/haeuser/haus.h
@@ -115,7 +115,7 @@
varargs void Save(int crunched);
void Load();
-varargs string QueryOwner(int withNr);
+string QueryOwner();
varargs string SetOwner(string o, int nr);
protected void AddExitNoCheck(mixed cmd, mixed dest);
void RemoveExitNoCheck(mixed cmd);
diff --git a/d/seher/haeuser/modules/losa.c b/d/seher/haeuser/modules/losa.c
index 893ca51..84cd6a5 100644
--- a/d/seher/haeuser/modules/losa.c
+++ b/d/seher/haeuser/modules/losa.c
@@ -129,7 +129,7 @@
" broken) objects in room "+
object_name(this_object()) + ".");
- save_object( HAUSSAVEPATH+QueryOwner(1));
+ save_object( HAUSSAVEPATH+QueryOwner());
Set(P_DETAILS, o1, F_VALUE);
Set(P_READ_DETAILS, o2, F_VALUE);
@@ -143,7 +143,7 @@
mixed prop;
int i;
- restore_object( HAUSSAVEPATH+QueryOwner(1));
+ restore_object( HAUSSAVEPATH+QueryOwner());
// Details und Kommandos werden beim Speichern de-dupliziert und in einem
// speziellen Format abgespeichert (s. PCrunch() im Hausverwalter). Sie
@@ -258,7 +258,7 @@
broken_furniture+=([file:data]);
log_file("seher/haeuser/autoloader_error",
dtime(time())+"\n"+
- break_string(object_name(this_object())+" ("+QueryOwner(1)+")",78, " FILE: ",1)+
+ break_string(object_name(this_object())+" ("+QueryOwner()+")",78, " FILE: ",1)+
break_string(message, 78, " MSG: ",1)+
break_string(sprintf("%O", data),78, " DATA: ",1)+"\n");