Skip to content

Commit

Permalink
[LIB] Fix warning library models
Browse files Browse the repository at this point in the history
Remove explicit 'nil' init value
  • Loading branch information
RoiArthurB committed Jul 30, 2021
1 parent 5fdeae9 commit e17b52c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -28,7 +28,7 @@ global
species generic_species skills: [moving]
{
float speed <- 1.0;
point goal <- nil;
point goal;
bool is_chased <- false;
reflex live_with_my_goal
{
Expand Down
Expand Up @@ -85,7 +85,7 @@ species people skills: [moving]
int start_work <- min_work_start + rnd(max_work_start - min_work_start);
int end_work <- min_work_end + rnd(max_work_end - min_work_end);
string objectif;
point the_target <- nil;
point the_target;
reflex time_to_work when: day_time = start_work
{
objectif <- 'working';
Expand Down

0 comments on commit e17b52c

Please sign in to comment.