ref: 709065d716dba7ac4440e608d46b322ec86b56ed
parent: 869bff3da1235171aad2cb6d662241e4887a18f9
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 12 12:54:58 EDT 2019
Use a sizeof instead of this raw value
--- a/src/MiniMap.cpp
+++ b/src/MiniMap.cpp
@@ -216,7 +216,7 @@
void StartMapping()
{
- memset(gMapping, FALSE, 0x80);
+ memset(gMapping, FALSE, sizeof(gMapping));
}
void SetMapping(int a)