2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:07:41 +00:00

CStaticInterference: Eliminate sign conversion warnings in constructor

We can just accept a size_t to prevent warnings from occurring.
This commit is contained in:
Lioncash
2020-05-19 22:14:18 -04:00
parent 871d3dc6ec
commit 463e9e9f60
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ class CStaticInterference {
std::vector<CStaticInterferenceSource> m_sources;
public:
explicit CStaticInterference(int sourceCount);
explicit CStaticInterference(size_t sourceCount);
void RemoveSource(TUniqueId id);
void Update(CStateManager&, float dt);
float GetTotalInterference() const;