Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZTzTopia committed Mar 12, 2022
1 parent 7f4e449 commit 7dacacb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/attach_debug_build_to_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
echo "APK_DIR_PATH=$APK_DIR_PATH" >> $GITHUB_ENV
echo "Building APK.."
if ! ./gradlew assembleDebug; then
if ! RELEASE=true ./gradlew assembleDebug; then
exit_on_error "Build failed."
fi
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/jni/ModMenu/src/game/Hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,11 @@ void ENetClient_ProcessPacket_hook(void *thiz, ENetEvent *event) {
case NET_MESSAGE_GAME_PACKET: {
GameUpdatePacket *gameUpdatePacket = packet::decoder::GetStructPointerFromTankPacket(event->packet);
if (gameUpdatePacket) {
LOGD("gameUpdatePacket type: %d", (int)gameUpdatePacket->packetType);
/*LOGD("gameUpdatePacket type: %d", (int)gameUpdatePacket->packetType);
LOGD("unk0: %d, unk1: %d, unk2: %d, unk3: %d, unk5: %d", gameUpdatePacket->unk0, gameUpdatePacket->unk1, gameUpdatePacket->unk2, gameUpdatePacket->unk4, gameUpdatePacket->unk5);
LOGD("unk6: %d, unk7: %d, unk8: %d, unk9: %f, unk10: %f", gameUpdatePacket->unk6, gameUpdatePacket->unk7, gameUpdatePacket->unk8, gameUpdatePacket->unk9, gameUpdatePacket->unk10);
LOGD("unk11: %f, unk12: %f, unk13: %f, unk14: %d, unk15: %d", gameUpdatePacket->unk11, gameUpdatePacket->unk12, gameUpdatePacket->unk13, gameUpdatePacket->unk14, gameUpdatePacket->unk15);

*/
ProcessTankUpdatePacket(gameUpdatePacket);
}
break;
Expand Down

0 comments on commit 7dacacb

Please sign in to comment.