console version fix

This commit is contained in:
p.kosyh 2009-09-18 05:09:46 +00:00
parent ed54987fe6
commit 1d696fec3d
2 changed files with 2 additions and 2 deletions

View file

@ -496,7 +496,7 @@ void loop(void)
while (1) {
luacall("me():tag();");
getcompletion(getstring("return here():str();"), &obj_comp);
getcompletion(getstring("return me().obj:str();"), &inv_comp);
getcompletion(getstring("return me():str();"), &inv_comp);
getcompletion(getstring("return here().way:str();"), &way_comp);
line = readline("-- > ");

View file

@ -1324,7 +1324,7 @@ iface = {
o = ref(ways():srch(obj));
end
if not o then
o = ref(inv():srch(obj));
o = ref(me():srch(obj));
end
if not o or not o.id then
return str;