[Ohrrpgce] SVN: teeemcee/10424 Remove a couple unneeded calls to get_door_on_map in "get door destinati
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Mon Jun 18 09:51:44 PDT 2018
teeemcee
2018-06-18 09:51:44 -0700 (Mon, 18 Jun 2018)
470
Remove a couple unneeded calls to get_door_on_map in "get door destination map/id"
This calls replaced original calls to valid_door() before the ability to read
doors on other maps was added. Originally, asking about a non-existent door
would throw an error, but get_door_on_map() only threw an error for a bad map
id. But these commands have always been documented to return -1 for an invalid
door so I think it's better not to throw an error (except on bad map idea)
---
U wip/scriptcommands.bas
More information about the Ohrrpgce
mailing list