mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-25 01:01:02 +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;
|
if (index < 0 || index >= MAX_SW_PLAYERS_REG) index = 0;
|
||||||
chan->Source = &Player[index];
|
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];
|
chan->Source = &sprite[index];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue