diff options
author | frosch <frosch@openttd.org> | 2017-01-15 13:59:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-01-15 13:59:46 +0000 |
commit | a23f707f928833142d3d35ce1e175fcf8a76ed01 (patch) | |
tree | a657906a16f60f09960b84d9e931b1dcd5f7b1b1 /src/pathfinder/npf/aystar.h | |
parent | 7b553d255ee5a5e5be3e4c1c8a0d56504cfdc418 (diff) | |
download | openttd-a23f707f928833142d3d35ce1e175fcf8a76ed01.tar.xz |
(svn r27733) -Codechange: Pass NPF user data as void* instead of as array of integers.
Diffstat (limited to 'src/pathfinder/npf/aystar.h')
-rw-r--r-- | src/pathfinder/npf/aystar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/npf/aystar.h b/src/pathfinder/npf/aystar.h index f9dd1a4ff..eaa70bf91 100644 --- a/src/pathfinder/npf/aystar.h +++ b/src/pathfinder/npf/aystar.h @@ -133,7 +133,7 @@ struct AyStar { * everything */ void *user_path; void *user_target; - uint user_data[10]; + void *user_data; byte loops_per_tick; ///< How many loops are there called before Main() gives control back to the caller. 0 = until done. uint max_path_cost; ///< If the g-value goes over this number, it stops searching, 0 = infinite. |