mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 23:56:13 +01:00
signal id of 0 does not work
This commit is contained in:
parent
66791b19f5
commit
86291cbec4
|
@ -1145,7 +1145,7 @@ void RMFT2::kill(const FSH * reason, int operand) {
|
|||
|
||||
int16_t RMFT2::getSignalSlot(int16_t id) {
|
||||
|
||||
if (id >= 0) {
|
||||
if (id > 0) {
|
||||
int sigslot = 0;
|
||||
int16_t sighandle = 0;
|
||||
// Trundle down the signal list until we reach the end
|
||||
|
|
Loading…
Reference in New Issue
Block a user