summaryrefslogtreecommitdiff
path: root/src/heretic/p_tick.c
AgeCommit message (Collapse)Author
2015-06-03Fix demo desyncs caused by P_RunThinkers() change.Simon Howard
1bcff874c52a changed the behavior of P_RunThinkers() to avoid dereferencing thinker pointers after they had been freed, but the modified version of the function was not logically equivalent to Vanilla version, because the 'next' pointer can be changed by the thinker function if one is invoked. This fixes a desync in tnt-speed-movie-0443131.lmp. Thanks to Zvonimir Bužanić for the bug report and Fabian Greffrath for reporting. Fixes #547.
2015-04-26Don't read currentthinker->next after Z_Free().Simon Howard
Save the next pointer in the P_RunThinkers() loop when iterating through thinkers, so that if the current thinker is freed we can still advance to the next thinker without dereferencing freed memory.
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2013-09-24Split Heretic savegame code into a separate file.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2681
2008-11-02Fix up raven-branch copyright notices.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1375
2008-09-20Remove definitions from heretic/doomdef.h and use common headers. MergeSimon Howard
heretic ticcmd_t to common type. Subversion-branch: /branches/raven-branch Subversion-revision: 1261
2008-09-20Merge heretic/v_video.c to common code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1252
2008-09-05Fix #include statements to use lower case filenames. Add automakeSimon Howard
configuration for building heretic/hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1198
2008-09-05Reformat (beautify) Raven sources and add GPL headers.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1197
2008-09-04Add GPLed Heretic/Hexen source.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1195