From: John Tsiombikas Date: Fri, 9 Oct 2020 21:49:55 +0000 (+0300) Subject: fixed libresman renamed resman_lookup to resman_add X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=antikythera;a=commitdiff_plain fixed libresman renamed resman_lookup to resman_add --- diff --git a/src/gear.h b/src/gear.h index fac245c..5f99dd5 100644 --- a/src/gear.h +++ b/src/gear.h @@ -52,7 +52,7 @@ public: */ std::string name; Vec3 pos, axis; // implicitly defines a plane eqn. - float pdist; // derived: distance of plane from origin + float pdist; // derived from the above: distance of plane from origin float init_angle; // initial starting angle float angle; // current angle of the gear diff --git a/src/texture.cc b/src/texture.cc index a787abd..da14721 100644 --- a/src/texture.cc +++ b/src/texture.cc @@ -463,7 +463,7 @@ Texture *TextureSet::get_texture(const char *name, TextureType type) const Texture *res = create(); res->create_default(type); - resman_lookup(rman, name, res); + resman_add(rman, name, res); return res; }