Fix TC build

This commit is contained in:
Rochet2
2016-04-24 16:42:31 +03:00
parent ca52c49388
commit aac1d4b015

View File

@@ -1465,7 +1465,7 @@ namespace LuaUnit
#ifndef TRINITY
unit->SetSpeedRate((UnitMoveType)type, rate, forced);
#else
unit->SetSpeed((UnitMoveType)type, rate, forced);
unit->SetSpeedRate((UnitMoveType)type, rate);
#endif
return 0;
}