]> Dogcows Code - chaz/yoink/blobdiff - src/Character.hh
spring experiments
[chaz/yoink] / src / Character.hh
index 96ac499001110bf1882d5f93e3c2634f4aa265b2..00e5a4b2b6912dc8ceae0b27643d5f67496102ea 100644 (file)
@@ -123,7 +123,7 @@ struct Character : public Mf::Entity
                        return state;
                }
 
                        return state;
                }
 
-               State operator+(State state) const
+               State operator+(const State& state) const
                {
                        State newState = *this;
                        newState.position +=  state.position;
                {
                        State newState = *this;
                        newState.position +=  state.position;
This page took 0.017028 seconds and 4 git commands to generate.