1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-01 06:27:11 +02:00

Adjust the Color3 and COlor4 type functions to use the new method of receiving formatted strings.

This commit is contained in:
Sandu Liviu Catalin
2016-11-16 16:19:02 +02:00
parent 3ede9645e3
commit 3e35f7c916
5 changed files with 33 additions and 61 deletions

View File

@ -212,7 +212,7 @@ SQRESULT SqGrabPlayerMessageColor(HSQUIRRELVM vm, Int32 idx, Uint32 & color, Int
// Attempt to treat the value as a color name
try
{
color = (::SqMod::GetColor(str).GetRGBA() | 0xFF);
color = (::SqMod::GetColorStr(str).GetRGBA() | 0xFF);
}
catch (...)
{