AbstractFont_placeGlyphAlpha fix drawAlpha (#3)
* bump version number * Fix AbstractFont_placeGlyphAlpha no idea what kind of side effects this could have, but it didnt break the limited things i tested.
This commit is contained in:
@@ -16,7 +16,7 @@ plugins {
|
|||||||
val oprsver = "1.5.44-SNAPSHOT"
|
val oprsver = "1.5.44-SNAPSHOT"
|
||||||
|
|
||||||
group = "com.openosrs"
|
group = "com.openosrs"
|
||||||
version = "1.0.3.0"
|
version = "1.0.3.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|||||||
@@ -139,9 +139,9 @@ public class RasterizerAlpha extends AbstractInjector
|
|||||||
Instruction alphaPushI = alphaPusher.getInstruction();
|
Instruction alphaPushI = alphaPusher.getInstruction();
|
||||||
if (alphaPushI instanceof GetStatic)
|
if (alphaPushI instanceof GetStatic)
|
||||||
{
|
{
|
||||||
instrs.addInstruction(storeIdx++, new LDC(instrs, 255));
|
//instrs.addInstruction(storeIdx++, new LDC(instrs, 255));
|
||||||
instrs.addInstruction(storeIdx++, new GetStatic(instrs, ((GetStatic) alphaPushI).getField()));
|
instrs.addInstruction(storeIdx++, new GetStatic(instrs, ((GetStatic) alphaPushI).getField()));
|
||||||
instrs.addInstruction(storeIdx++, new ISub(instrs, InstructionType.ISUB));
|
//instrs.addInstruction(storeIdx++, new ISub(instrs, InstructionType.ISUB));
|
||||||
}
|
}
|
||||||
else if (alphaPushI instanceof LVTInstruction)
|
else if (alphaPushI instanceof LVTInstruction)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user