Extracted staffVolumeUp to seperate file
All checks were successful
Build Code / build (push) Successful in 1m15s
All checks were successful
Build Code / build (push) Successful in 1m15s
This commit is contained in:
10
src/staffFunctions.cpp
Normal file
10
src/staffFunctions.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <staffFunctions.h>
|
||||
#include <constants.h>
|
||||
|
||||
void staffVolumeUp(int *maxVolume)
|
||||
{
|
||||
if (*maxVolume < 64)
|
||||
{
|
||||
*maxVolume += STAFF_STEPS;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user