mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fix sprite rendering causing crashes
This commit is contained in:
parent
4c57ba6ef3
commit
439e0718ce
2 changed files with 3 additions and 4 deletions
|
@ -3094,9 +3094,6 @@ void R_AddSpriteSurfaces()
|
|||
return;
|
||||
}
|
||||
|
||||
// FIXME: fix buggy sprites causing annoying crashes
|
||||
return;
|
||||
|
||||
for (tr.currentSpriteNum = 0; tr.currentSpriteNum < tr.refdef.num_sprites; ++tr.currentSpriteNum)
|
||||
{
|
||||
sprite = &tr.refdef.sprites[tr.currentSpriteNum];
|
||||
|
|
|
@ -73,7 +73,9 @@ void R_InitNextFrame( void ) {
|
|||
|
||||
//
|
||||
// OPENMOHAA-specific stuff
|
||||
//
|
||||
//
|
||||
|
||||
r_firstSceneSpriteSurf = 0;
|
||||
|
||||
r_numsprites = 0;
|
||||
r_firstSceneSprite = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue