Merge pull request #3 from hermansimensen/master

Support for CSS
This commit is contained in:
kidfearless 2020-10-06 10:54:47 -06:00 committed by GitHub
commit 4be595269c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -45,7 +45,14 @@ enum struct Output
{ {
// Break it up into more managable parts // Break it up into more managable parts
char entity[OUTPUTSIZE][MEMBER_SIZE]; char entity[OUTPUTSIZE][MEMBER_SIZE];
ExplodeString(buffer, "\e", entity, OUTPUTSIZE, MEMBER_SIZE); if(GetEngineVersion() == Engine_CSS)
{
ExplodeString(buffer, ",", entity, OUTPUTSIZE, MEMBER_SIZE);
} else
{
ExplodeString(buffer, "\e", entity, OUTPUTSIZE, MEMBER_SIZE);
}
this.Target = entity[TARGETENTITY]; this.Target = entity[TARGETENTITY];
this.Input = entity[OUTPUTNAME]; this.Input = entity[OUTPUTNAME];