(svn r27733) -Codechange: Pass NPF user data as void* instead of as array of integers.

This commit is contained in:
frosch
2017-01-15 13:59:46 +00:00
parent 7b553d255e
commit a23f707f92
2 changed files with 48 additions and 42 deletions

View File

@@ -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.