[Fix] Oops. Removed render instead of update from that last commit. D:
This commit is contained in:
parent
838e2f184c
commit
141790fe0a
@ -149,9 +149,10 @@ void pilot_init(Pilot* pilot, Ship* ship, char* name, const double dir, const Ve
|
|||||||
player = pilot;
|
player = pilot;
|
||||||
} else {
|
} else {
|
||||||
pilot->think = ai_think;
|
pilot->think = ai_think;
|
||||||
pilot->update = pilot_update;
|
pilot->render = pilot_render;
|
||||||
}
|
}
|
||||||
pilot->update = pilot_update;
|
pilot->update = pilot_update;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create a new pilot - Params are same as pilot_init. Return pilot's id.
|
// Create a new pilot - Params are same as pilot_init. Return pilot's id.
|
||||||
|
Loading…
Reference in New Issue
Block a user