Some code correction in BugFixes

Minor edits to documents.
This commit is contained in:
NovaRain
2020-04-03 12:16:09 +08:00
parent 6e05ca65fd
commit ca4e506f1d
5 changed files with 29 additions and 28 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ Example:
- creates permanent array (but not "saved")
- if size is >= 0, creates list with given size
- if size == -1, creates map (associative array)
- if size == -1 and flags == 2, creates a "lookup" map in which the values of existing keys are read-only and can't be updated.
- if size == -1 and flags == 2, creates a "lookup" map (associative array) in which the values of existing keys are read-only and can't be updated.
This type of array allows you to store a zero (0) key value
- NOTE: in earlier versions (up to 4.1.3/3.8.13) the second argument is not used, just use 0
- returns arrayID (valid until array is deleted)
+1 -1
View File
@@ -564,7 +564,7 @@ Some utility/math functions are available:
> int sfall_func2("get_can_rest_on_map", int mapNum, int elev)
- returns the set rest value of the map after using the set_can_rest_on_map function
- returns -1 if the rest value of the map was not previously set (i.e. no data for the map in sfalldb.sav)
- the can_rest_here values in maps.txt are ignored
- the can_rest_here values from maps.txt are ignored
> object sfall_func0("dialog_obj")
- returns a pointer to the object (critter) the player is having a conversation or bartering with