mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix out of range enum casts in deSerialize functions (#14090)
This commit is contained in:
parent
0383c44f0d
commit
2ea8d9ca11
15 changed files with 138 additions and 77 deletions
|
@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <iostream>
|
||||
#include "irrlichttypes_bloated.h"
|
||||
|
||||
enum TileAnimationType
|
||||
enum TileAnimationType : u8
|
||||
{
|
||||
TAT_NONE = 0,
|
||||
TAT_VERTICAL_FRAMES = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue