- made gameaction read only

The script side cannot do anything useful with this, because most actions require parameters in global variables, so this is a first grade candidate for rogue mods to make the engine misbehave.
This commit is contained in:
Christoph Oelckers 2019-02-13 14:59:55 +01:00
parent eaf0ac1f7b
commit 6ff6a6af00

View file

@ -15,7 +15,7 @@ struct _ native // These are the global variables, the struct is only here to av
native readonly ui bool netgame;
native readonly bool automapactive;
native play uint gameaction;
native readonly uint gameaction;
native readonly int gamestate;
native readonly TextureID skyflatnum;
native readonly Font smallfont;