mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-15 13:14:17 +01:00
0.1.1.4, small fixes for PRs.
This commit is contained in:
parent
8940e813ec
commit
415e58b93e
9 changed files with 16 additions and 11 deletions
|
|
@ -22,7 +22,9 @@ namespace Glamourer
|
|||
if (variant.HasValue)
|
||||
*(ushort*) (address + 4) = variant.Value;
|
||||
|
||||
if (stain.HasValue)
|
||||
if (*(ushort*) address == 0)
|
||||
*(address + 6) = 0;
|
||||
else if (stain.HasValue)
|
||||
*(address + 6) = (byte) stain.Value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue