/*
Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
This file is part of Lugaru.
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();
void Object::DeleteObject(int which)
{
objects.erase(objects.begin() + which);
+ terrain.DeleteObject(which);
}
void Object::MakeObject(int atype, XYZ where, float ayaw, float apitch, float ascale)