Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
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
MyCard
ygopro
Commits
fc4518b2
Commit
fc4518b2
authored
Dec 18, 2023
by
Chen Bill
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use default initialize
parent
3c6de956
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
gframe/client_field.h
gframe/client_field.h
+7
-7
gframe/duelclient.cpp
gframe/duelclient.cpp
+1
-1
No files found.
gframe/client_field.h
View file @
fc4518b2
...
...
@@ -13,13 +13,13 @@ class ClientCard;
struct
ChainInfo
{
irr
::
core
::
vector3df
chain_pos
;
ClientCard
*
chain_card
;
int
code
;
int
desc
;
int
controler
;
int
location
;
int
sequence
;
bool
solved
;
ClientCard
*
chain_card
{
nullptr
}
;
int
code
{
0
}
;
int
desc
{
0
}
;
int
controler
{
0
}
;
int
location
{
0
}
;
int
sequence
{
0
}
;
bool
solved
{
false
}
;
std
::
set
<
ClientCard
*>
target
;
};
...
...
gframe/duelclient.cpp
View file @
fc4518b2
...
...
@@ -611,7 +611,7 @@ void DuelClient::HandleSTOCPacketLan(unsigned char* data, unsigned int len) {
mainGame->device->setEventReceiver(&mainGame->dField);
if(!mainGame->dInfo.isTag) {
if(selftype > 1) {
mainGame->dInfo.player_type =
7
;
mainGame->dInfo.player_type =
NETPLAYER_TYPE_OBSERVER
;
mainGame->btnLeaveGame->setText(dataManager.GetSysString(1350));
mainGame->btnLeaveGame->setVisible(true);
mainGame->btnSpectatorSwap->setVisible(true);
...
...
nanahira
@nanahira
mentioned in commit
433f5c0a
·
Dec 26, 2023
mentioned in commit
433f5c0a
mentioned in commit 433f5c0aac8e57be6f04a0efbe032eded89bd302
Toggle commit list
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