From 1602f344eb63bbb752d9c24a785f35a29988d423 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 12 Aug 2004 22:03:05 +0000 Subject: [PATCH] Changed parameter from set_action(). SVN-Revision: 1758 --- lib/special/sprite.cpp | 2 +- lib/special/sprite.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/special/sprite.cpp b/lib/special/sprite.cpp index 94e015321..5e43dc679 100644 --- a/lib/special/sprite.cpp +++ b/lib/special/sprite.cpp @@ -98,7 +98,7 @@ Sprite::init_defaults(Action* act) } void -Sprite::set_action(std::string& act) +Sprite::set_action(std::string act) { Actions::iterator i = actions.find(act); action = i->second; diff --git a/lib/special/sprite.h b/lib/special/sprite.h index e8b79374f..5837bc63c 100644 --- a/lib/special/sprite.h +++ b/lib/special/sprite.h @@ -67,7 +67,7 @@ namespace SuperTux int get_current_frame() const; /** Set action (or state) */ - void set_action(std::string& act); + void set_action(std::string act); float get_fps() { -- 2.11.0