forked from QW-Group/ezquake-source
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GL_RMAIN/VX_STUFF: Stop corrupting command list when gl_no24bit toggl…
…ed 1>0 VX_STUFF was registering commands (gl_checkmodels/gl_inferno/gl_setmode) in a function only called when gl_no24bit was set to 0. The commands use Hunk_Alloc(), so the newly added commands at the front of the linked list were being allocated in memory that was free'd on the next map change, and the client would inevitably crash when next finding commands in the list. Fixes bug QW-Group#73
- Loading branch information
Showing
4 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters