1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix bitwise and expression

This commit is contained in:
Ted John
2016-10-22 22:35:12 +01:00
parent a2efab7c45
commit a9db9528ae

View File

@@ -148,7 +148,7 @@ public:
if (index != SIZE_MAX)
{
TrackRepositoryItem * item = &_items[index];
if (!item->Flags & TRIF_READ_ONLY)
if (!(item->Flags & TRIF_READ_ONLY))
{
utf8 newPath[MAX_PATH];
Path::GetDirectory(newPath, sizeof(newPath), path);