mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Merge branch 'master' into next
This commit is contained in:
commit
87dc33a78d
5 changed files with 196 additions and 2816 deletions
|
@ -4523,8 +4523,8 @@ static void HWR_SortVisSprites(void)
|
||||||
gr_vissprite_t *ds, *dsprev, *dsnext, *dsfirst;
|
gr_vissprite_t *ds, *dsprev, *dsnext, *dsfirst;
|
||||||
gr_vissprite_t *best = NULL;
|
gr_vissprite_t *best = NULL;
|
||||||
gr_vissprite_t unsorted;
|
gr_vissprite_t unsorted;
|
||||||
float bestdist;
|
float bestdist = 0.0f;
|
||||||
INT32 bestdispoffset;
|
INT32 bestdispoffset = 0;
|
||||||
|
|
||||||
if (!gr_visspritecount)
|
if (!gr_visspritecount)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -28,4 +28,4 @@ void M_AATreeSet(aatree_t *aatree, INT32 key, void* value);
|
||||||
void *M_AATreeGet(aatree_t *aatree, INT32 key);
|
void *M_AATreeGet(aatree_t *aatree, INT32 key);
|
||||||
void M_AATreeIterate(aatree_t *aatree, aatree_iter_t callback);
|
void M_AATreeIterate(aatree_t *aatree, aatree_iter_t callback);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7644,7 +7644,7 @@ void A_SetObjectFlags(mobj_t *actor)
|
||||||
else if (locvar2 == 1)
|
else if (locvar2 == 1)
|
||||||
locvar1 = actor->flags & ~locvar1;
|
locvar1 = actor->flags & ~locvar1;
|
||||||
|
|
||||||
if ((locvar1 & (MF_NOBLOCKMAP|MF_NOSECTOR)) != (actor->flags & (MF_NOBLOCKMAP|MF_NOSECTOR))) // Blockmap/sector status has changed, so reset the links
|
if ((UINT32)(locvar1 & (MF_NOBLOCKMAP|MF_NOSECTOR)) != (actor->flags & (MF_NOBLOCKMAP|MF_NOSECTOR))) // Blockmap/sector status has changed, so reset the links
|
||||||
unlinkthings = true;
|
unlinkthings = true;
|
||||||
|
|
||||||
if (unlinkthings) {
|
if (unlinkthings) {
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
|
|
||||||
|
|
||||||
#include <tchar.h>
|
#include <tchar.h>
|
||||||
|
#ifndef HAVE_SDL
|
||||||
#include "win_main.h"
|
#include "win_main.h"
|
||||||
|
#endif
|
||||||
#include "../doomdef.h" //just for VERSION
|
#include "../doomdef.h" //just for VERSION
|
||||||
#include "win_dbg.h"
|
#include "win_dbg.h"
|
||||||
#include "../m_argv.h" //print the parameter in the log
|
#include "../m_argv.h" //print the parameter in the log
|
||||||
|
|
Loading…
Reference in a new issue