From aac1d4b015891c7a76482e932bdaf30dcad02083 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sun, 24 Apr 2016 16:42:31 +0300 Subject: [PATCH] Fix TC build --- UnitMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitMethods.h b/UnitMethods.h index dac49bd..b1196b0 100644 --- a/UnitMethods.h +++ b/UnitMethods.h @@ -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; }