From c7b80b7c5a38fd20d842bda56c4044d26fd0a5af Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sat, 10 Oct 2020 00:49:55 +0300 Subject: [PATCH] fixed libresman renamed resman_lookup to resman_add --- src/gear.h | 2 +- src/texture.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 1.7.10.4