mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +00:00
Fix build.
This commit is contained in:
parent
17bbbb9a46
commit
b46ec5cd28
@ -3558,11 +3558,11 @@ static void domethodmap(LayoutSpec spec)
|
||||
if (!isupper(*mapname))
|
||||
error(109, spectype);
|
||||
|
||||
enum LayoutSpec old_spec = deduce_layout_spec_by_name(mapname);
|
||||
LayoutSpec old_spec = deduce_layout_spec_by_name(mapname);
|
||||
if (!can_redef_layout_spec(spec, old_spec))
|
||||
error(110, mapname, layout_spec_name(old_spec));
|
||||
|
||||
struct methodmap_t *parent = NULL;
|
||||
methodmap_t *parent = NULL;
|
||||
|
||||
if (matchtoken('<')) {
|
||||
if (lex(&val, &str) != tSYMBOL) {
|
||||
|
||||
@ -69,7 +69,7 @@ typedef struct pstruct_s
|
||||
|
||||
// The ordering of these definitions should be preserved for
|
||||
// can_redef_layout_spec().
|
||||
typedef enum
|
||||
typedef enum LayoutSpec_t
|
||||
{
|
||||
Layout_None,
|
||||
Layout_Enum,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user