Trunk sync r7997

This commit is contained in:
The_E committed 2011-11-16 18:16:55 +00:00
1 parent 9f8c2061c8
commit 465b3296ae
18 files changed
+158 -270

No files matched your search

+1 -1
View File
@@ -7013,7 +7013,7 @@ ADE_FUNC(getAnimationDoneTime, l_Ship, "number Type, number Subtype", "Gets time
return ADE_RETURN_FALSE;
int time_ms = model_anim_get_time_type(&Ships[objh->objp->instance], type, subtype);
float time_s = (float)time_ms * 1000.0f;
float time_s = (float)time_ms / 1000.0f;
return ade_set_args(L, "f", time_s);
}