mirror of
https://github.com/kidfearless/output-info-plugin.git
synced 2025-12-06 18:08:23 +00:00
commit
4be595269c
@ -45,7 +45,14 @@ enum struct Output
|
||||
{
|
||||
// Break it up into more managable parts
|
||||
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.Input = entity[OUTPUTNAME];
|
||||
|
||||
@ -92,7 +92,7 @@ public Action OnLevelInit(const char[] mapName, char mapEntities[2097152])
|
||||
{
|
||||
char[] entity = new char[next+1];
|
||||
strcopy(entity, next, mapEntities[current]);
|
||||
|
||||
|
||||
Entity ent;
|
||||
ent.Parse(entity);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user