aboutsummaryrefslogtreecommitdiff
path: root/src/model.c
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-07-18 00:01:41 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-07-18 00:01:41 +0000
commit22e44824699c214a91ae69dbf40d5ae336fa7441 (patch)
treee339c0feb408526e6dd4cbedff7fe474cdcfad42 /src/model.c
parent4f1c5d440d76dfa13fc78f385912dcde8d5495fa (diff)
Tidy up
Only 'recharge' when landed on a platform git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@141 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/model.c')
-rw-r--r--src/model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model.c b/src/model.c
index dfd2e1b..1432f62 100644
--- a/src/model.c
+++ b/src/model.c
@@ -481,7 +481,8 @@ ModelInstance *model_instance_new(ModelContext *ctx, const char *name, RenderCon
instance->vz = 0.0;
instance->yaw = 0.0;
instance->yawspeed = 0.0;
- instance->landed = 0.0;
+ instance->landed = 0;
+ instance->recharging = 0;
return instance;