mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-16 04:59:41 -04:00
Core/Misc: Multiple static analysis issues fixed (small optimizations and clear code)
This commit is contained in:
@@ -125,7 +125,7 @@ public:
|
||||
uint16 counter = 0;
|
||||
uint16 MapId = 0;
|
||||
|
||||
if (strcmp(map, "all"))
|
||||
if (strcmp(map, "all") != 0)
|
||||
{
|
||||
MapId = uint16(atoi(map));
|
||||
if (!MapId)
|
||||
|
||||
Reference in New Issue
Block a user