Inform - Support - Patches

About Patches  


DM4 Errata  

Issue L61121     [previous patch]

add_to_scope of parentless object causes error
Submitted by: Emerick Rogul     Appeared in: Library 6/11 or before     Fixed in: -

Consider an object which has no parent, and is brought into scope by an add_to_scope property. An attempt to take that object causes error messages:

  [** Programming error: tried to test "has" or "hasnt" of nothing **]

  [** Programming error: tried to test "has" or "hasnt" of nothing **]
  That's hardly portable.
Solution (by Andreas Hoppler)

To suppress the error messages, change AttemptToTakeObject( ) in verblib.h:

  if (i && i ~= ancestor && (i has container || i has supporter))

Last updated 17 April 2013. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.