Browse Source

Oops - fixed min/max swap bug in SetAll()

master
waxfrenzy 22 years ago
parent
commit
6338cbdf00
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      SpiralSound/Plugins/ControllerPlugin/ControllerPlugin.h

+ 2
- 2
SpiralSound/Plugins/ControllerPlugin/ControllerPlugin.h View File

@@ -59,9 +59,9 @@ private:
void SetNum(int n);
void SetAll(int n, char *name, float max, float value, float min)
{ m_Names[n] = name;
m_MaxVal[n] = min;
m_MaxVal[n] = max;
m_ChannelVal[n] = value;
m_MinVal[n] = max;
m_MinVal[n] = min;
};
void SetName(int n, char* name) { m_Names[n] = name; };
void SetChannel(int n, float value) { m_ChannelVal[n] = value; };


Loading…
Cancel
Save