]> isoptera.lcsc.edu Git - engine26/.git/commitdiff
Added specials for cat
authorSeth Long <sslong@lcsc.edu>
Thu, 5 Nov 2026 16:53:31 +0000 (08:53 -0800)
committerSeth Long <sslong@lcsc.edu>
Thu, 5 Nov 2026 16:53:31 +0000 (08:53 -0800)
cat.h

diff --git a/cat.h b/cat.h
index f7813a500c50ff53b5c9270135dcc7a601aee55f..bd18b66b4b8ecb2b9ea0e96ffe5ee02c4fb0e877 100644 (file)
--- a/cat.h
+++ b/cat.h
@@ -10,6 +10,7 @@ public:
        };
        void add_location(vec3 loc){
                models.push_back(translate(mat4(1.0), loc));
+               specials.push_back(0); /* We need to do this now, since we have the specials array */
        }
        void movement(float time) {
                for(size_t i = 0; i < models.size(); i++) {