mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-20 17:14:44 +01:00
Fix compile for 4.0.
This commit is contained in:
parent
cdc8b7830d
commit
e992462683
@ -928,7 +928,11 @@ String Aura::_get_description(const int class_level, const int character_level)
|
||||
if (pos == str.size() - 1)
|
||||
break;
|
||||
|
||||
#if GODOT4
|
||||
char32_t o = str[pos + 1];
|
||||
#else
|
||||
CharType o = str[pos + 1];
|
||||
#endif
|
||||
|
||||
if (o == '#' || o == '$' || o == '%') {
|
||||
int nsp = str.find_char(' ', pos + 1);
|
||||
|
@ -738,7 +738,11 @@ String Spell::_get_description(const int class_level, const int character_level)
|
||||
if (pos == str.size() - 1)
|
||||
break;
|
||||
|
||||
#if GODOT4
|
||||
char32_t o = str[pos + 1];
|
||||
#else
|
||||
CharType o = str[pos + 1];
|
||||
#endif
|
||||
|
||||
if (o == '#' || o == '$' || o == '%') {
|
||||
int nsp = str.find_char(' ', pos + 1);
|
||||
|
@ -38,6 +38,7 @@
|
||||
|
||||
#define POOL_STRING_ARRAY PACKED_STRING_ARRAY
|
||||
#define POOL_INT_ARRAY PACKED_INT32_ARRAY
|
||||
#define POOL_REAL_ARRAY PACKED_FLOAT32_ARRAY
|
||||
|
||||
#define Spatial Node3D
|
||||
|
||||
|
@ -26,6 +26,8 @@ SOFTWARE.
|
||||
#include "../../singletons/ess.h"
|
||||
#include "../entity.h"
|
||||
|
||||
#include "../../defines.h"
|
||||
|
||||
int EntityResource::get_id() const {
|
||||
return _id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user