Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
c9f042a6
Commit
c9f042a6
authored
Aug 10, 2018
by
fallenstardust
Committed by
GitHub
Aug 10, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1 from purerosefallen/patch-1
fix weird destroy sound effect
parents
24770900
b24212a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Classes/gframe/duelclient.cpp
Classes/gframe/duelclient.cpp
+5
-5
No files found.
Classes/gframe/duelclient.cpp
View file @
c9f042a6
...
...
@@ -2349,7 +2349,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
int
cs
=
BufferIO
::
ReadInt8
(
pbuf
);
int
cp
=
BufferIO
::
ReadInt8
(
pbuf
);
int
reason
=
BufferIO
::
ReadInt32
(
pbuf
);
if
(
reason
&=
REASON_DESTROY
)
{
if
(
!
mainGame
->
dInfo
.
isReplaySkiping
&&
reason
&
REASON_DESTROY
&&
pl
!=
cl
)
{
mainGame
->
soundEffectPlayer
->
doDestroyEffect
();
}
if
(
pl
==
0
)
{
...
...
@@ -3353,13 +3353,13 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
list<IGUIElement*> children = mainGame->wANRace->getChildren();
int count = children.size();
int i = 0;
int filter = 0x1;//
属性种族宣言
fixme
int filter = 0x1;//
属性种族宣言fi
xme
list<IGUIElement*>::Iterator current = children.begin();
contents = (char **) malloc(count * sizeof(char *));
do {
if ((*current)->getType() == EGUIET_CHECK_BOX) {
content = (char *) malloc(256 * 4);
if (filter & available) {//
属性种族宣言
fixme
if (filter & available) {//
属性种族宣言fi
xme
BufferIO::EncodeUTF8(((IGUICheckBox*) (*current))->getText(),
content);
}
...
...
@@ -3406,13 +3406,13 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
list<IGUIElement*> children = mainGame->wANAttribute->getChildren();
int count = children.size();
int i = 0;
int filter = 0x1;//
属性种族宣言
fixme
int filter = 0x1;//
属性种族宣言fi
xme
list<IGUIElement*>::Iterator current = children.begin();
contents = (char **) malloc(count * sizeof(char *));
do {
if ((*current)->getType() == EGUIET_CHECK_BOX) {
content = (char *) malloc(256 * 4);
if (filter & available) {//
属性种族宣言
fixme
if (filter & available) {//
属性种族宣言fi
xme
BufferIO::EncodeUTF8(((IGUICheckBox*) (*current))->getText(),
content);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment