int numobjects;
int type;
XYZ position;
- float yaw, pitch, scale, lastscale;
+ float yaw, pitch, scale;
+ float lastscale = 1.0f;
funpackf(tfile, "Bi", &numobjects);
if (!skip) {
objects.clear();
}
if (animTarget == jumpupanim || animTarget == jumpdownanim || isFlip()) {
float gLoc[3];
- float vel[3];
gLoc[0] = coords.x;
gLoc[1] = coords.y;
gLoc[2] = coords.z;
- vel[0] = velocity.x;
- vel[1] = velocity.y;
- vel[2] = velocity.z;
if (id == 0) {
OPENAL_3D_SetAttributes(channels[whooshsound], gLoc);
if (animTarget == jumpupanim || animTarget == jumpdownanim || isFlip()) {
float gLoc[3];
- float vel[3];
gLoc[0] = coords.x;
gLoc[1] = coords.y;
gLoc[2] = coords.z;
- vel[0] = velocity.x;
- vel[1] = velocity.y;
- vel[2] = velocity.z;
if (id == 0) {
OPENAL_3D_SetAttributes(channels[whooshsound], gLoc);
if (aitype == pathfindtype) {
if (finalpathfindpoint == -1) {
float closestdistance;
- float tempdist;
+ float tempdist = 0.0f;
int closest;
XYZ colpoint;
closest = -1;
}
if (targetpathfindpoint == -1) {
float closestdistance;
- float tempdist;
+ float tempdist = 0.0f;
int closest;
XYZ colpoint;
closest = -1;