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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user