1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00

Merge pull request #246 from GokuWeedLord/develop

fix windows paths with pcb reader
This commit is contained in:
Mordred 2018-02-08 11:40:51 +01:00 committed by GitHub
commit dae8d74fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -93,6 +93,7 @@ namespace Packets {
SetCharacterFCInfo = 0x0114, // updated 4.2
StatusEffectList = 0x0125, // updated 4.2
Effect = 0x0128, // updated 4.2
PersistantEffect = 0x013B, // updated 4.2
GCAffiliation = 0xCCFC, // OUTDATED

View file

@ -341,7 +341,7 @@ int main( int argc, char* argv[] )
if( argc > 2 )
{
std::string tmpPath( argv[2] );
if( !( tmpPath.empty() || tmpPath.find( '/' ) == std::string::npos ) )
if( !tmpPath.empty() )
gamePath = argv[2];
}
}