mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 15:11:51 +00:00
- that was stupid.
This commit is contained in:
parent
951d28f15d
commit
375bf639de
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ public:
|
|||
if (index < 0 || index >= MAX_SW_PLAYERS_REG) index = 0;
|
||||
chan->Source = &Player[index];
|
||||
}
|
||||
else if (chan->SourceType == SOURCE_Unattached && chan->Source >= 0)
|
||||
else if (chan->SourceType == SOURCE_Unattached && index >= 0)
|
||||
{
|
||||
chan->Source = &sprite[index];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue