mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed use of wrong indexing function.
This commit is contained in:
parent
73243f95bb
commit
34373e9c70
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ int GetGameVarID(int id, DDukeActor* sActor, int sPlayer)
|
|||
}
|
||||
if (id == g_iThisActorID)
|
||||
{
|
||||
return sActor->GetSpriteIndex();
|
||||
return ActorToScriptIndex(sActor);
|
||||
}
|
||||
if( aGameVars[id].dwFlags & GAMEVAR_FLAG_PERPLAYER )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue