mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- clear interpolations when starting a new map.
This commit is contained in:
parent
5bd53cbe8c
commit
2d806d415a
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
#include "sectorgeometry.h"
|
||||
#include "render.h"
|
||||
#include "hw_sections.h"
|
||||
#include "interpolate.h"
|
||||
|
||||
// needed for skipping over to get the map size first.
|
||||
enum
|
||||
|
@ -390,6 +391,7 @@ void addBlockingPairs();
|
|||
// allocates global map storage. Blood will also call this.
|
||||
void allocateMapArrays(int numsprites)
|
||||
{
|
||||
ClearInterpolations();
|
||||
|
||||
memset(sector, 0, sizeof(*sector) * MAXSECTORS);
|
||||
memset(wall, 0, sizeof(*wall) * MAXWALLS);
|
||||
|
|
Loading…
Reference in a new issue