- backend update from GZDoom

* replacement of 'long' in string code.
* palette removal in V_GetColor.
* fixes to DShape2D buffer management.
This commit is contained in:
Christoph Oelckers 2021-08-14 10:04:45 +02:00
parent c4c9f4acbe
commit bad2c2e55f
32 changed files with 242 additions and 180 deletions

View file

@ -1328,7 +1328,7 @@ FxExpression *FxColorCast::Resolve(FCompileContext &ctx)
}
else
{
FxExpression *x = new FxConstant(V_GetColor(nullptr, constval.GetString(), &ScriptPosition), ScriptPosition);
FxExpression *x = new FxConstant(V_GetColor(constval.GetString(), &ScriptPosition), ScriptPosition);
delete this;
return x;
}