Fix tag switch

This commit is contained in:
yangzhi 2019-10-17 20:38:49 +08:00
parent 4bdd1ad0d9
commit 1b0bb03891
1 changed files with 2 additions and 2 deletions

View File

@ -30,10 +30,10 @@ void MapIconSwtich(int i) {
void MapTagSwtich(int i){
if(!i) {
WriteByte( CWBase() + MAP_TAG_DISPLAY_JUMP_OFFSET, OP_JO);
WriteByte( CWBase() + MAP_TAG_DISPLAY_JUMP_OFFSET, OP_JZ);
}
else {
WriteByte( CWBase() + MAP_TAG_DISPLAY_JUMP_OFFSET, OP_JZ);
WriteByte( CWBase() + MAP_TAG_DISPLAY_JUMP_OFFSET, OP_JO);
}
}