mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
Fix bug with setuserdef vm_sprite
git-svn-id: https://svn.eduke32.com/eduke32@6294 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2dfc3acb38
commit
0f788963b6
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ void __fastcall VM_SetUserdef(int32_t const labelNum, int32_t const iSet)
|
|||
case USERDEFS_GLOBALFLAGS: globalflags = iSet; break;
|
||||
case USERDEFS_GLOBALGAMEFLAGS: duke3d_globalflags = iSet; break;
|
||||
case USERDEFS_VM_PLAYER: vm.playerNum = iSet; vm.pPlayer = g_player[iSet].ps; break;
|
||||
case USERDEFS_VM_SPRITE: vm.spriteNum = iSet; vm.pSprite = &sprite[iSet]; vm.pData = &actor[iSet].t_data[0]; break;
|
||||
case USERDEFS_VM_SPRITE: vm.spriteNum = iSet; vm.pSprite = &sprite[iSet]; vm.pActor = &actor[iSet]; vm.pData = &actor[iSet].t_data[0]; break;
|
||||
case USERDEFS_VM_DISTANCE: vm.playerDist = iSet; break;
|
||||
case USERDEFS_GAMETEXT_TRACKING: MF_BluefontGame.between.x = iSet; break;
|
||||
case USERDEFS_MGAMETEXT_TRACKING: MF_BluefontRed.between.x = MF_Bluefont.between.x = iSet; break;
|
||||
|
|
Loading…
Reference in a new issue