mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Reverted the change of obj_under_cursor in 4.2.9 (commit 1684395)
The game window position is now also saved when dragging the window by the title bar.
This commit is contained in:
@@ -578,7 +578,7 @@ Some utility/math functions are available:
|
||||
- onlyCritter: True - only checks critters and ignores their cover (roof tiles, walls, scenery, etc.)
|
||||
False - checks all objects (can't check critters under objects)
|
||||
- passing False to the includeDude argument will ignore dude_obj
|
||||
- NOTE: the function will always return 0 if the cursor is in movement mode (hexagon cursor)
|
||||
- NOTE: to get an object located on a tile when the cursor is in movement mode (hexagon cursor), use the tile_under_cursor function
|
||||
|
||||
> object sfall_func0("loot_obj")
|
||||
- returns a pointer to the target object (container or critter) of the loot screen
|
||||
|
||||
Reference in New Issue
Block a user