Update of /cvsroot/super-tux/supertux/lib/special
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15126/lib/special
Modified Files:
sprite.cpp sprite.h
Log Message:
Changed parameter from set_action().
Index: sprite.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/special/sprite.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sprite.cpp 12 Aug 2004 20:55:05 -0000 1.5
+++ sprite.cpp 12 Aug 2004 22:03:04 -0000 1.6
@@ -98,7 +98,7 @@
}
void
-Sprite::set_action(std::string& act)
+Sprite::set_action(std::string act)
{
Actions::iterator i = actions.find(act);
action = i->second;
Index: sprite.h
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/special/sprite.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- sprite.h 12 Aug 2004 20:55:05 -0000 1.5
+++ sprite.h 12 Aug 2004 22:03:05 -0000 1.6
@@ -67,7 +67,7 @@
int get_current_frame() const;
/** Set action (or state) */
- void set_action(std::string& act);
+ void set_action(std::string act);
float get_fps()
{
|