r176 - trunk/src
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Sep 14 13:38:52 EDT 2005
Author: jonas
Date: 2005-09-14 13:38:52 -0400 (Wed, 14 Sep 2005)
New Revision: 176
Modified:
trunk/src/objects_common.cpp
Log:
1000l
Modified: trunk/src/objects_common.cpp
===================================================================
--- trunk/src/objects_common.cpp 2005-09-14 16:03:34 UTC (rev 175)
+++ trunk/src/objects_common.cpp 2005-09-14 17:38:52 UTC (rev 176)
@@ -178,8 +178,8 @@
if (parameters.find("type")->second.find("step") !=string::npos) animation_type|=ATYPE_STEP;
if (parameters.find("type")->second.find("reverse") !=string::npos) animation_type<<=1;
- if (animation_type==NOTHING) animation_type=ATYPE_LOOP;
- if (parameters.find("type")->second.find("switch")) animation_type|=ATYPE_ST_SWITCH;
+ if (animation_type==NOTHING) animation_type=ATYPE_LOOP;
+ if (parameters.find("type")->second.find("switch") !=string::npos) animation_type|=ATYPE_ST_SWITCH;
}
if (hasParam(parameters,"fps")) fps=atof(parameters.find("fps")->second.c_str());
if (hasParam(parameters,"allign_type")) {
More information about the lostpenguins-commits
mailing list