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:
ThatGamerBlue
2020-01-14 16:36:23 +00:00
committed by Kyle
parent d49f9c080d
commit c9ec2a2e44
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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)
{ {