]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Resource.hpp
scale compatibility to same state resources only
[blobs.git] / src / world / Resource.hpp
index 17df3244955e55e58b2a540666e02f70ad1f0a84..3798d707ca03ea0cd38ffba2268c4e7de21bcac8 100644 (file)
@@ -29,7 +29,7 @@ struct Resource {
        };
        // the resource's natural state
        // TODO: something about temperature and pressure and stuff
-       int state = SOLID;
+       State state = SOLID;
 
        glm::dvec3 base_color = glm::dvec3(1.0);