Fix unintialised variables in testpaint

This commit is contained in:
Michał Janiszewski 2016-10-15 21:26:29 +02:00
parent 8f8677aa83
commit 2c58543928
1 changed files with 2 additions and 2 deletions

View File

@ -633,10 +633,10 @@ namespace Intercept2
continue;
}
TunnelCall referencePattern[4];
TunnelCall referencePattern[4] = { 0 };
getTunnelCallReferencePattern(tileTunnelCalls, &referencePattern);
TunnelCall actualPattern[4];
TunnelCall actualPattern[4] = { 0 };
getTunnelCallReferencePattern(newTileTunnelCalls, &actualPattern);
if (!tunnelPatternsMatch(referencePattern, actualPattern)) {