Skip to content

Instantly share code, notes, and snippets.

@iRi-E
Created April 23, 2011 09:32
Show Gist options
  • Save iRi-E/938500 to your computer and use it in GitHub Desktop.
Save iRi-E/938500 to your computer and use it in GitHub Desktop.
diff --git a/QMA/QMAWidget.cc b/QMA/QMAWidget.cc
index 00cfcad..ba6eeb8 100644
--- a/QMA/QMAWidget.cc
+++ b/QMA/QMAWidget.cc
@@ -215,7 +215,7 @@ void QMAWidget::setBaseMotion(MMDAI::PMDObject *object, MMDAI::IMotionLoader *lo
{
MMDAI::MotionPlayer *player = object->getMotionManager()->getMotionPlayerList();
for (; player != NULL; player = player->next) {
- if (player->active && MMDAIStringEqualsIn(player->name, "base", 4) == 0) {
+ if (player->active && MMDAIStringEquals(player->name, "base")) {
m_controller->changeMotion(object, "base", loader);
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment