Rename ValueBase::same_as() to ValueBase::same_type_as(), since it compares types...
[synfig.git] / synfig-core / trunk / src / modules / mod_particle / plant.cpp
index 6dbd106..b5f0158 100644 (file)
@@ -251,7 +251,7 @@ Plant::set_param(const String & param, const ValueBase &value)
 
                return true;
        }
-       if(param=="seed" && value.same_as(int()))
+       if(param=="seed" && value.same_type_as(int()))
        {
                random.set_seed(value.get(int()));
                needs_sync_=true;